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 write, since it 
gives you error messages and hints about what could be/going wrong:

        use strict;  
        use warnings;

joe

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to