in reply to Re^2: Use a Variable in a Separate Perl Script
in thread Use a Variable in a Separate Perl Script
$final is defined by user input, so it is always dynamic.Well, variables are always dynamic, that's why they are called variables.
Some of the confusion in the replies to your question seem to be caused by the term "script", which you are using. My understanding is, that script1 and script2 MUST be separate process, in the sense of independent commands, and you need to pass information from one script to the other. Is this correct?
Some replies to your question imply that there is a closer coupling of the script possible (so that you can run the whole code within a single process). Both approaches make sense, but maybe you should explain more in detail what your requirements are. Only then can we propose a better solution. Also it helps if you explain, what kind of value $final is supposed to have. Proposed solutions might be slightly different, dependent on whether this value, for instance, is supposed to be a one-digit number, or the content of a whole Word document...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Use a Variable in a Separate Perl Script
by NinjaOne (Initiate) on Jun 08, 2012 at 12:22 UTC | |
by rovf (Priest) on Jun 08, 2012 at 13:55 UTC | |
by NinjaOne (Initiate) on Jun 08, 2012 at 16:40 UTC | |
by aaron_baugher (Curate) on Jun 09, 2012 at 01:06 UTC | |
by rovf (Priest) on Jun 11, 2012 at 14:26 UTC | |
by aaron_baugher (Curate) on Jun 08, 2012 at 14:14 UTC |