http://www.perlmonks.org?node_id=810204


in reply to File::Util list_dir question

straight from the docs:
Flags accepted by new()

--fatals-as-status

Directive to instruct the new File::Util object that when any call to one of its methods results in a fatal error that it should return undef instead of the value(s) that would normally be returned by the call.
Don't take this as a RTFM please, it took me a while to find about that too.


holli

You can lead your users to water, but alas, you cannot drown them.