in reply to Re^5: wantarray - surprise behaviour
in thread wantarray - surprise behaviour
A list is still created - it's just not the list you want.perl -MO=Deparse,-p -e"@a = 1,2,3,4,5; print @a" ((@a = 1), '???', '???', '???', '???'); print(@a); -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: wantarray - surprise behaviour
by BrowserUk (Patriarch) on Sep 01, 2004 at 16:23 UTC |