Thank you. I can't figure out how I missed that in perlop, as I did spend some time trying to figure this out before posting.
As for how to do this better (i.e., so it works), I posted a follow up to my node on Friday that indicated that I was more comfortable doing this in a list context anyway. That is, get all of the matching files before going into the loop and then using foreach to go through each of them.
Thanks again,
Scott
In reply to Re: Re: More Fileglob in scalar context question
by scain
in thread More Fileglob in scalar context question
by scain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |