in reply to Re: More Fileglob in scalar context question
in thread More Fileglob in scalar context question

Chipmonk,

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

  • Comment on Re: Re: More Fileglob in scalar context question