lightoverhead has asked for the wisdom of the Perl Monks concerning the following question:
Dear Friends:
I just came up with this question, when I used @ARGV in my program and if I feed the program input files like "*.txt", such as perl program.pl *.txt, will this program automatically take all the "*.txt" file in the current directory and feed them to @ARGV?
It seems doing so. But I cannot find reference for this behavior.
Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: @ARGV and glob
by Corion (Patriarch) on Aug 22, 2017 at 15:49 UTC | |
by lightoverhead (Pilgrim) on Aug 22, 2017 at 15:58 UTC | |
|
Re: @ARGV and glob
by haukex (Archbishop) on Aug 22, 2017 at 16:23 UTC | |
|
Re: @ARGV and glob
by ikegami (Patriarch) on Aug 22, 2017 at 18:59 UTC | |
|
Re: @ARGV and glob
by thanos1983 (Parson) on Aug 22, 2017 at 16:11 UTC |