in reply to using wildcard character * in perlscript command line
glob applied to @ARGV in a BEGIN block gives a reasonable approximation.
perl -wle"BEGIN{ @ARGV = map glob, @ARGV } print for @ARGV" *
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using wildcard character * in perlscript command line
by holli (Abbot) on Jan 28, 2005 at 15:41 UTC | |
by shenme (Priest) on Jan 28, 2005 at 15:56 UTC | |
by BrowserUk (Patriarch) on Jan 28, 2005 at 15:57 UTC | |
by Aristotle (Chancellor) on Jan 28, 2005 at 17:25 UTC | |
by blazar (Canon) on Jan 29, 2005 at 08:29 UTC |