in reply to Get the filename from the end of a URL
$url = 'http://www.fubar.com/fileXXX.txt'; $url =~ m{^[\w\/\:\.]+\/([\w\.]+)$}; $file = $1; [download]