in reply to
passing an array
'@_' contains all parameters passed to a subroutine. Read
perlman:perlsub
.
sub doStuff { @info = @_; print "@info"; }
[download]
That will copy everything that you passed to &doStuff into @info.
stephen
Comment on
Re: passing an array
Download
Code
In Section
Seekers of Perl Wisdom