in reply to Fetching last part of url
$url = 'http:\\myurlinfo\mypage.html'; ($myfetch) = $url =~ /([^\\\/]+)$/; [download]