We don't bite newbies here... much | |
PerlMonks |
Array dereference in foreach()by pme (Monsignor) |
on Nov 14, 2017 at 13:58 UTC ( [id://1203377]=perlquestion: print w/replies, xml ) | Need Help?? |
pme has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
This tiny code fails with "Can't use an undefined value as an ARRAY reference" exception. but this one works as expected (does nothing) Could you explain me what makes the difference here? Thanks. My perl is 5.18.2.
Back to
Seekers of Perl Wisdom
|
|