in reply to Re^2: Using Shift with Parameters in a subroutinein thread Using Shift with Parameters in a subroutine
sub f { my ($x,$y,@z) = @_; print "$x\n$y\n@z\n"; } f("first","second","third","fourth"); [download]
first second third fourth [download]