On Jun 28, Scott Taylor said:
>How can I pass parameters from *nix command line to a Perl script?
> Like $1 in shell scripting.
You want the @ARGV array. $ARGV[0] is the first argument to your
program. Check the 'perlvar' documentation for more about @ARGV.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734
** Manning Publications, Co, is publishing my Perl Regex book **