The above code only outputs $thing1. I have tried using @_[4] with no luck, either.@data = ($thing1, $thing2); &doStuff($arg1, $arg2, $arg3, $ar4, @data); ... sub doStuff { @info = $_[4]; print "@info"; }
Edit: chipmunk 2001-03-30
In reply to passing an array by parsifal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |