in reply to Re: Globbing uncertainty
in thread Globbing uncertainty
If the user is passing in the * on the command line, then what you have would work if you switched over to glob.
Assuming it was quoted. If it wasn't quoted, and one isn't using the Windows command shell, the shell would have done the globbing itself.
$ perl -E'say for @ARGV' 'tmp/*' tmp/* $ perl -E'say for @ARGV' tmp/* tmp/a tmp/b tmp/c tmp/d tmp/e
|
|---|