Re: how to use command line parameters

2005-07-14 Thread Todd W
"Manish Uskaikar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] command line: $perl man.pl manish perl script #!/usr/bin/perl; ($inputfile) = @ARGS; Could anyone tell me how to accept the commandline parametes this does not seem to work. for simple arguments this works great.

Re: how to use command line parameters

2005-07-14 Thread John Doe
Manish Uskaikar am Donnerstag, 14. Juli 2005 18.21: > command line: > $perl man.pl manish > > perl script: > #!/usr/bin/perl; > ($inputfile) = @ARGS; > > Could anyone tell me how to accept the commandline parametes this does not > seem to work. please put the following lines into every script/modu

Re: how to use command line parameters

2005-07-14 Thread Remo Sanges
Remo Sanges wrote: Manish Uskaikar wrote: command line: $perl man.pl manish perl script #!/usr/bin/perl; ($inputfile) = @ARGS; Could anyone tell me how to accept the commandline parametes this does not seem to work. @ARGV and not @ARGS is an array so you have to use it by element. In

Re: how to use command line parameters

2005-07-14 Thread Remo Sanges
Manish Uskaikar wrote: command line: $perl man.pl manish perl script #!/usr/bin/perl; ($inputfile) = @ARGS; Could anyone tell me how to accept the commandline parametes this does not seem to work. @ARGV and not @ARGS is an array so you have to use it by element. In your case the name of

Re: how to use command line parameters

2005-07-14 Thread Remo Sanges
Manish Uskaikar wrote: command line: $perl man.pl manish perl script #!/usr/bin/perl; ($inputfile) = @ARGS; Could anyone tell me how to accept the commandline parametes this does not seem to work. @ARGV and not @ARGS is an array so you have to use it by element. In your case the name of