|Syntactic Confectionery Delight|
Array dereference in foreach()by pme (Parson)
|on Nov 14, 2017 at 13:58 UTC||Need Help??|
pme has asked for the
wisdom of the Perl Monks concerning the following question:
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.