Update: This does break if the url is something like http://www.plenty.org/downloads/crap.exe?foo=/path/to/something. But so do the others example, I believe.use File::Basename; print basename 'http://www.plenty.org/downloads/crap.exe';
In reply to Re: Get the filename from the end of a URL
by mr.nick
in thread Get the filename from the end of a URL
by ip9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |