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


in reply to Re^3: Testing for readdir failure
in thread Testing for readdir failure

Wow, I had no idea that warnings had different "levels" and that by default, some weren't issued. I don't think I want to enable ALL warnings, but the io bunch looks appropriate.

Thanks for the suggestion.

Replies are listed 'Best First'.
Re^5: Testing for readdir failure
by Laurent_R (Canon) on Apr 23, 2013 at 06:19 UTC

    I think that pretty much everyone on this forum will agree that you should always "use strict;" and "use warnings;" for every single program that you write, except possibly for programs which have strictly less than two lines. This is increedibly useful to find syntax and programming errors.