in reply to Passing values between different scripts
You could read in your script1.pl into a string and use the eval function to execute it. But why would you want to do that? Is this school homework you are doing?
The sensible thing would be to make script1.pl into a module and use it just like a library from script2.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing values between different scripts
by ajguitarmaniac (Sexton) on Dec 28, 2010 at 15:52 UTC |