|Perl Monk, Perl Meditation|
Variable scope headachesby nikmit (Initiate)
|on Jul 26, 2012 at 15:36 UTC||Need Help??|
nikmit has asked for the
wisdom of the Perl Monks concerning the following question:
I am attempting to assign values to variables like this:
The result is that within the foreach loop all is good, but outside of it the variables are empty... I tried to use
but get an error on execution: 'Can't declare scalar dereference in "our"'.