You must surely mean %{$_[0]}, not %$_[0].
In reply to Re^2: passing paramters to a sub by ambrus in thread passing paramters to a sub by jimbus