in reply to Re: Get the filename from the end of a URLin thread Get the filename from the end of a URL
my ($file) = $url =~ m~[^/]*$~; You didn't test this did you? You need to capture: my ($file) = $url =~ m~([^/]*)$~; tachyon [download]