http://qs321.pair.com?node_id=529646


in reply to Re: regex: finding something followed explicitly by a dot
in thread regex: finding something followed explicitly by a dot

Why do you have your argument-checking 'die' inside a BEGIN block? The line would work as well without being enclosed in a BEGIN block (once a ';' was added at the end)