my ($x, $y, $z) = map { defined() ? $_ : '[undef]' } split ',', $_, 3; print "x = $x y= $y z =$z\n";
In reply to Re: split and uninitialized variables
by ccn
in thread split and uninitialized variables
by podian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |