in reply to lvalues and action at distance
sub append :lvalue { no warnings 'uninitialized'; substr($_[0], length $_[0]); } my $x; for (1 .. 5) { append($x) = $_ } print $x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: lvalues and action at distance
by blazar (Canon) on Oct 11, 2005 at 15:03 UTC |