my @data; foo(\@data); bar(\@data); sub foo { my $data_aref = @_; # read from a file and # save temporary data in the data # array } sub bar { my $data_aref = @_; # process data array... }
# Under Construction
In reply to Re: Global variables
by vladb
in thread Improper use of global variable? (was: Global variables)
by Basilides
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |