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


in reply to Regexp Legibility
in thread Regexp do's and don'ts

I think you should use do { instead of eval { there.