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