Keep It Simple, Stupid | |
PerlMonks |
Re^2: Use of uninitialized value $_ in stringby juanpablo (Novice) |
on Apr 05, 2014 at 14:06 UTC ( [id://1081243]=note: print w/replies, xml ) | Need Help?? |
Hi toolic! Thanks for the reply! I appreciate it. Yes, you're right. I've just realized that that variable shouldn't be declared on top. I've removed it already and put it back in foreach body. Also, the errors were gone but I'm not sure if that's the right thing to do, I mean the declaration of variables again in the sub part. I'm checking the coping with scoping thread now. :) Cheers, JP
In Section
Seekers of Perl Wisdom
|
|