in reply to Re: Find images regardless of filetype extension.
in thread Find images regardless of filetype extension.

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?

Replies are listed 'Best First'.
Re^3: Find images regardless of filetype extension.
by blazar (Canon) on Aug 02, 2005 at 08:17 UTC
    Indeed! My fault. That's the first thing I'm editing when I start terminating that post.