http://qs321.pair.com?node_id=586891


in reply to Re: print the array using command line arguements
in thread print the array using command line arguements

The first argument of @ARGV is not the progname
perl -wle 'print "@ARGV"' 3 4 The progname is in $0

Replies are listed 'Best First'.
Re^3: print the array using command line arguements
by Fengor (Pilgrim) on Nov 30, 2006 at 08:03 UTC
    oh right.

    --
    "WHAT CAN THE HARVEST HOPE FOR IF NOT THE CARE OF THE REAPER MAN"
    -- Terry Pratchett, "Reaper Man"