in reply to Getting a base name
$fname = 'test.txt'; $base = (split/\./, $fname)[0]; print "$base\n"; [download]