Don't ask to ask, just ask | |
PerlMonks |
Re^2: Find images regardless of filetype extension.by Anonymous Monk |
on Aug 01, 2005 at 18:01 UTC ( [id://479996]=note: print w/replies, xml ) | Need Help?? |
It looks like if if ( opendir( DIR, $dir) ) fails then the sub returns undef. The code is checking the return of the call. what's wrong with that?
In Section
Cool Uses for Perl
|
|