Your skill will accomplish what the force of many cannot |
|
PerlMonks |
"my" declaration problemby Hosen1989 (Scribe) |
on Apr 25, 2017 at 11:17 UTC ( [id://1188833]=perlquestion: print w/replies, xml ) | Need Help?? |
Hosen1989 has asked for the wisdom of the Perl Monks concerning the following question: Dear ALL, I was debug some old dirty script of mine (which without strict nor warnings ^_^), and faced this issue: As you can see in case(1), variable $me had been declared more than once, and to output of this script is: []
But after correct the declaration problem as in case(2), we got the correct output: [at home].
Now,can any monk explain me just what happen here? BR Hosen
Back to
Seekers of Perl Wisdom
|
|