http://www.perlmonks.org?node_id=1061566


in reply to perl glob

Normally this globbing would be handled by the shell, so your two commands would be

perl wrapper.pl *.ws
and
perl wrapper.pl test_*.ws
Leaving your script to work its way through @ARGV and process files.

To make it even simpler, you could just replace wrapper.pl with converter.pl, unless the wrapper script is doing something that you haven't shown here.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.