in reply to Re: parse filenamesin thread parse filenames
my $suffix = $file =~ m/\.(.+)$/; [download]
hope it helps,
Make sure the file doesn't have more than one dot..
my ($suffix) = $file =~ m/([^\.]+)$/; [download]