Re: Processing Arguments

2007-07-06 Thread Lawrence Statton
> 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

Re: Processing Arguments

2007-07-06 Thread Dr.Ruud
[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

Re: Processing Arguments

2007-07-06 Thread Tom Phoenix
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

Processing Arguments

2007-07-06 Thread joespoolhall . newsgroups
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, _