in reply to Re^4: Small troubles with references
in thread Small troubles with references

@_ is an array of aliases to the argument list. Try:
sub inc_list { $_++ for @_; } my @arr = (1, 2); inc_list(@arr); print "@arr\n"; # prints "2 3" (untested)