in reply to Re: Question about warnings and arrays
in thread Question about warnings and arrays

While readdir might be an alternative to the OP's glob, what does that have to do with any of the OP's questions? Also that code is desperately crying for some code comments as to what it's doing. @foo and @foo2 seem to have nothing to do with OP's question, why add that confusing code?

Replies are listed 'Best First'.
Re^3: Question about warnings and arrays
by tbone654 (Beadle) on Aug 12, 2014 at 21:16 UTC
    It's probably not as confusing as you think... Or I would not be getting any votes I'm guessing...
    Even if it doesn't help with this specific question, it could help someone else along the way... That's how I myself learn, so if it doesn't offend anyone who's "non-anonymous", I'll keep trying to help...
    What I'm trying to show is:
    read an entire directory of filenames into an array...
    skip files you know you don't want...
    Then read them back one at a time and do your thing (whatever that is)...
    That was valuable to me at one time...