I would say it is being used as an rvalue?C:\test>perl -Mstrict -wle" my $r = undef; my @x = map{ $_ } @{ $r }"
DB<25> use strict; my @a = 0..5; my @b = map { $_ = $_*$_ } @a; print + "@a\n@b" 0 1 4 9 16 25 0 1 4 9 16 25
Many Thanks
Casiano
In reply to Re: Dereferencing undef as an array: Bug or WAD?
by casiano
in thread Dereferencing undef as an array: Bug or WAD?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |