in reply to Passing parameters to scripts

Replies are listed 'Best First'.
Re: Re: Passing parameters to scripts
by tommyw (Hermit) on Aug 12, 2002 at 11:13 UTC

    The command line arguments arrive in the @ARGV array. so $file=$ARGV[0] will do what you want.

    --
    Tommy
    Too stupid to live.
    Too stubborn to die.