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