use strict; use warnings; one(1,2,3,4); sub one{ &two (shift, shift); } sub two { print "Elements : \n @_ \n"; } #### Elements : 1 2 #### sub one{ &two shift, shift; }
## Elements : 1 2 ##
## sub one{ &two shift, shift; }