I have read through Perldata but cannot seem to find how to do this.my @x = (1, 2, undef) ; my ($a, $b, $c) = @x ; $c = $a + $b ; @x = ($a, $b, $c) ; print "@x\n" ;
In reply to referencing list by pmilne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |