in reply to Re^4: Small troubles with referencesin thread Small troubles with references
sub inc_list { $_++ for @_; } my @arr = (1, 2); inc_list(@arr); print "@arr\n"; # prints "2 3" (untested) [download]