Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I did this years and years ago when I actively used Perl and since then have forgotten. Pretend you did: perl script.pl red blue green What's the magic variable the arguments are stored in such that I could do something with them?
  • Comment on How to collect params passed to perl script

Replies are listed 'Best First'.
Re: How to collect params passed to perl script
by toolic (Bishop) on Aug 24, 2011 at 21:18 UTC
Re: How to collect params passed to perl script
by Anonymous Monk on Aug 24, 2011 at 21:18 UTC
    @ARGV