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


in reply to File path added to file name variable

To get just UFLEX13_UD16B208.1apr25_03_45.stdf, you can use File::Basename in your foreach loop:
foreach my $file (@files) { print basename($file), "\n"; }

I can't find any mention of basename in File::Find::Rule.