> > does anyone know how to pass in parameters from
> > command line to a perl script?
> > Is it the same as C++ where i specify an ARGV[ ]
> > and ARGC value or I use the @ARGV?
>
> Sorta.
>
> perldoc perlvar
>
> look for the ARGV entry
Some more bits about ARGV...
1. Shift will work on @ARGV by default outside of subs. See
perldoc -f shift
2. <> reads lines from files listed in @ARGV.
If @ARGV is empty at the time <> is first evaluated,
perl sticks a "-" in the first array entry, which <> in
turn treats as a signal to read from STDIN. And
the code "while (<>)" is magical over and above
this. See
perldoc [something or other]
(I've given up trying to find that last reference,
having spent far longer looking for it than I have
on the rest of this email. Maybe someone else
knows where perldoc for <> is?)