@a = undef;
This is interpreted as @a = (undef), i.e. it sets @a to a one element list, where the first (and only) element has the value undef.
--"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: using undef on a array
by davorg
in thread using undef on a array
by Anarion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |