> 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?
>
/tmp/* got expanded into a lis
[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 i
On 7/6/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
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
ar
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?
Thanks in advance,
_