use strict; use warnings; my $data = 3; foo ($data); sub foo { my ($data) = @_; $data++; print $data; print "\n"; }
In reply to Re: Modifying passed-in variables
by tonto
in thread Modifying passed-in variables
by mike65535
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |