how to use command line parameters

2005-07-14 Thread Manish Uskaikar
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. Regards, Manish U

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

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

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.

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/module you

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. If