in reply to reverse chop/string chop ?

If you need to do more with URL's than just picking out the filename, take a look at The URI module, or more specifically: URI::URL.

Arjen