in reply to Re^4: Passing file location in a subroutine
in thread Passing file location in a subroutine

Have you looked at what shift does?

Also look at perlvar for the @_ array.

Replies are listed 'Best First'.
Re^6: Passing file location in a subroutine
by Rapazzini (Initiate) on Oct 16, 2015 at 07:09 UTC
    Thank you.You provided me the clue.