http://www.perlmonks.org?node_id=1004255


in reply to help in understanding a regex

Yeah, you'd have to change it to m/([^\/]+)$/ to work. The original used vertical bars so they didn't have to escape the slash in the brackets.

...roboticus

When your only tool is a hammer, all problems look like your thumb.