in reply to
pragmas are good
in thread
I can't figure out what's wrong with this foreach loop
He does have warnings turned on, and his code doesn't issue that warning. @test is an array; it cannot be undefined.
Comment on
Re: pragmas are good
Replies are listed 'Best First'.
Re^2: pragmas are good
by
bryan172
(Novice)
on Mar 13, 2011 at 19:50 UTC
Yep, that did it. I knew it was something silly. I'll make sure to turn on strict from now on, too. Thanks again! Bryan
[reply]
In Section
Seekers of Perl Wisdom