[EMAIL PROTECTED] schreef:

> I wrote a simple perl script and execute it as follows: "./sr /tmp/*"
>
> #!/usr/bin/perl
> print $ARGV[0];
>
> Well, what is returned is the first filename in the directory, instead
> of the actual argument itself. What can I do to get the literal
> argument?


That is a question about shell functionality, so not about perl or Perl,
so it actually does not belong on this list.

Depending on what shell you are using, try putting the argument inside
some kind of quotes, or escape the *.

-- 
Affijn, Ruud

"Gewoon is een tijger."


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


Reply via email to