in reply to How to do WildChars (*) on the command line for my script
on your shell's command line, the shell will expand that tomakeupscript.pl -c *.txt
and pass on the expanded file names to the perl script. However, if you prevent expansion by sayingmakeupscript.pl -c foo.txt bar.txt baz.txt ...
then your script will indeed find *.txt somewhere in @ARGS. To do the expansion yourself, check perldoc -f glob.makeupscript.pl -c '*.txt'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to do WildChars (*) on the command line for my script
by BrowserUk (Patriarch) on May 28, 2004 at 00:16 UTC | |
|
Re: Re: How to do WildChars (*) on the command line for my script
by EchoAngel (Pilgrim) on May 28, 2004 at 01:49 UTC |