>>>>> "KS" == Kripa Sundar <[EMAIL PROTECTED]> writes:
KS> (But the glob bug is still a bug, IMHO.) though i didn't figure out your 'bug', i disagree with your calling it a bug. it is documented behavior and makes sense from an iterator point of view. the glob function needs to track its own state more then the expression passed to it so it can iterate over all the expanded files. this means it won't see new data unless it first hits the end of the current iteration. so the lesson is to call it in a list context when you want to force it to always look at new data the next time. but then again, i never use globs. readdir always works fine and i like the power of real perl regexes over the pseudo-regexes in globs. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

