The stupid question is the question not asked | |
PerlMonks |
Variable scoping, foreach loop, aliasby Vaati (Sexton) |
on Jan 23, 2004 at 21:06 UTC ( [id://323691]=perlquestion: print w/replies, xml ) | Need Help?? |
Vaati has asked for the wisdom of the Perl Monks concerning the following question:
I'm not exactly new to perl and I'm not exactly a guru
but for the life of me I can't figure out why this does what it does. Everything I've ever seen/done/read in perl has not clarified why this thing prints 2 3 4 5 6 ??? Things like this just make you feel dumb. Oh there is one other thing, this script is running under the nebulous environ of mod_perl if that makes a diff. edit by thelenm: added code tags janitored by ybiC: Retitle from less-than-descriptive "Okay, I'm needing some clarification."
Back to
Seekers of Perl Wisdom
|
|