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
In reply to Re: Passing values between different scripts
by jethro
in thread Passing values between different scripts
by ajguitarmaniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |