You may assign to undef in a list. This is useful for throwing away some of the return values of a function: ($dev, $ino, undef, undef, $uid, $gid) = stat($file);
-- Randal L. Schwartz, Perl hacker
In reply to Re: undef as an lvalue
by merlyn
in thread undef as an lvalue
by MrNobo1024
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |