in reply to How to call a perl prg with options from within another ?
You must have missed my answer from the Chatterbox. Have you read the documentation?
Typing perldoc -f system and perldoc -f require at your command prompt shows you the documentation about the two functions. They can also be found on the web, as system and require.
If you read the documentation for require closely, you will find that it says:
... require demands that a library file be included if it hasn't already been included. The file is included via the do-FILE mechanism, which is essentially just a variety of eval. Has semantics similar to the following subroutine: ...
Nowhere the documentation mentions that passing of parameters is possible, and require also mentions that it will load a file only once.
|
|---|