which will create a list of configfiles (-cf) and a list of textsub files (-ts). The problem is that @ARGV keeps expanding the file globs so I can't tell what switch a given file is supposed to be associated with. I would like to be able to hold off the file-globbing until I've identified which array to stuff the globbed files into. I've come up with an inelegant way of doing this, which is to assume that any files appearing after a given switch belong to that switch's array until I hit a different switch. But that just feels so *wrong*. Any ideas? -Grebkimicrogen -cf *.cfg -cf /users/someone/goofy.cfg -ts *.vh
In reply to How can I stop ARGV from globbing all over the place? by grebki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |