in reply to passing an array

'@_' contains all parameters passed to a subroutine. Read perlman:perlsub.
sub doStuff { @info = @_; print "@info"; }
That will copy everything that you passed to &doStuff into @info.

stephen