in reply to Re^2: Perl not BNF-able??
in thread Perl not BNF-able??

Oh, one other thing...

I had a bad feeling about eval from the start

If you think eval is problematic, consider the /e substitution modifier, which may be combined with nonstandard delimiters...

s ((foo))[{ some_possibly_lengthy_chunk_of_code_here(); somefunc($1) }]ex;