We don't bite newbies here... much | |
PerlMonks |
Re^3: if (defined @arr) problemby secret (Beadle) |
on Dec 15, 2005 at 10:49 UTC ( [id://516922]=note: print w/replies, xml ) | Need Help?? |
( i did meant the undef value, btw, and not the string 'undef' but it's true that my use of single quotes was indeed a bad idea !! ) I'll add something : suppose the OP wanted to undef arrays in a sub . I think I would pass the array as a reference, undef it in the sub and return the reference .
In Section
Seekers of Perl Wisdom
|
|