singlespeed has asked for the wisdom of the Perl Monks concerning the following question:
What I'd like to do however is take that common section out of all the scripts, put it in it's own script so that it can just be called by the others. This section however must return an array of filenames to the "parent" script. Is this possible in perl?
I know in PHP you just do an include(scriptname) but I don't know how to accomplish this in perl.
thanks,
jeff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using php like includes in perl script?
by davidrw (Prior) on Feb 22, 2006 at 16:12 UTC | |
by singlespeed (Initiate) on Feb 22, 2006 at 16:16 UTC | |
|
Re: Using php like includes in perl script?
by davorg (Chancellor) on Feb 22, 2006 at 16:38 UTC |