go ahead... be a heretic | |
PerlMonks |
Re^2: Using grep and glob to find directories containing fileby Anonymous Monk |
on Feb 04, 2013 at 16:42 UTC ( [id://1016976]=note: print w/replies, xml ) | Need Help?? |
Thanks 7stud for all your patience and persistence in helping me figure out this strange/unexpected behavior. It seems to me that this is a hidden and potentially significant time-bomb type issue since glob is a core function and it's not inconceivable that people will bury it somewhere in a module where it is used in static context. Then it will lay there waiting until one day someone calls the module from a loop and gets wrong results. This would be bad enough if the behavior were fully or even adequately documented. But currently, the documentation at best alludes rather obscurely to the behavior that can lead to an issue in such a context. Do people agree this is a valid issue that needs addressing either in 'fixing' glob or at least in documenting and warning about the behavior? If so how does one properly report such an issue?
In Section
Seekers of Perl Wisdom
|
|