in reply to
A better way? Extracting filename from url
Did you try basename ?
It's not the usual way (regexes or URI::... modules) but it seems to work.
(Need some testing although...)
"Only Bad Coders Code Badly In Perl" (OBC2BIP)
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (76 votes),