use strict; no strict "refs"; use Mail::Sender; my $f2dir = "C:\\windows\\desktop\\tmp"; print $f2dir; my @names = <$f2dir\*.f2mail>; print @names; #### Where ever there is confusion to be had... I'll be there.