rsriram has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I have stored all the memory variables, arrays and hash tables in a separate perl script and I want this script to be executed in my main script. Can anyone give me the syntax to execute the script (in which memvars are stored) from the main script?
The script with memory variables looks like this...
$first_num=10.0095;
$last_num=72.0967;
$mem_first=77xptj52;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loading variables from a separate script
by monarch (Priest) on May 15, 2007 at 07:49 UTC | |
|
Re: Loading variables from a separate script
by wfsp (Abbot) on May 15, 2007 at 07:49 UTC | |
|
Re: Loading variables from a separate script
by CountZero (Bishop) on May 15, 2007 at 17:30 UTC | |
|
Re: Loading variables from a separate script
by Moron (Curate) on May 15, 2007 at 09:31 UTC | |
|
Re: Loading variables from a separate script
by samurai_ (Initiate) on May 15, 2007 at 07:19 UTC | |
|
Re: Loading variables from a separate script
by hiptoss (Novice) on May 18, 2007 at 09:32 UTC |