in reply to Re: Re: File::Find considered hard?
in thread File::Find considered hard?

One can also make the same claim about $DBI::errstr ... globals may be "Bad Things"(tm), but it's not as if they're unusable.

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Re: Re: File::Find considered hard?

Replies are listed 'Best First'.
Re^4: File::Find considered hard?
by Aristotle (Chancellor) on Mar 15, 2004 at 20:02 UTC
    Of course $DBI::errstr comes with exactly the same caveats. The fact that File::Find::find() is not reentrant because of its use of package variables f.ex can be very annoying, and the same goes for $DBI::errstr in modular code. Just like $_ clobbering issues and what other commonly encountered cases of being bit in the rear by use of package variables there are.

    Makeshifts last the longest.