On Tue, 20 Nov 2001 23:50:54 -0500, you wrote: my @args = @ARGV; @ARGV contains the command line parameter.
martin >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Nicolae Popovici) wrote: > >> Hi guys, >> >> Can anyone tell me how can I take the command line arguments in a perl >> script . I forgot how to do it . >> Thanks for your support . > >Couple ways. > >process a loop around @ARGV... > >work with the Modules like Getopt::Std, or Getopt::Long... > >-- >Scott R. Godin | e-mail : [EMAIL PROTECTED] >Laughing Dragon Services | web : http://www.webdragon.net/ >It is not necessary to cc: me via e-mail unless you mean to speak off-group. >I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]