good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Method for sharing variablesby bioMan (Beadle) |
on Oct 04, 2005 at 03:19 UTC ( [id://497120]=note: print w/replies, xml ) | Need Help?? |
Being a lowly acolyte I'm leary to post as I'm sure wiser voices will post much sounder advice. However, as you are creating your variables (for example $foo) in the Main namespace, you can refer to those variables in any block by using Main::$foo. Mike
In Section
Seekers of Perl Wisdom
|
|