in reply to Re: Help with $File:Find
in thread Help with $File:Find

Ok I was thinking that but I wasn't sure if needed to check if $File::Find::name was defined.
So I can write it as:
push @array, $File::Find::name if ( ($_) && (/^.*\.($TYPES)$/i) );

that is they syntax I've been using to check for defined without actually using "defined"