package MyMod; use strict; sub do_stuff { shift; my %newhash=@_; #stuff return %newhash; }