|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I was wondering if there is a way to achieve the equivalent of the php include() or require() functions in perl? Thanks in advance ![]() |
|
#2
|
|||
|
|||
|
Perl has use, require and do.
I'm not familiar with PHP, so I don't know how they correspond to PHP's include() or require(). |
|
#3
|
|||
|
|||
|
What I need to do is execute another perl script from within the one that is being called, as if it were part of the same script (ie environment is preserved).
Hope that makes sense. |
|
#4
|
|||
|
|||
|
I'm not sure which function would be best.
Here's a brief explanation of the differences: URL Here are more details: URL |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Including other files into script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|