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;
In reply to Re: Perl not BNF-able??
by jonadab
in thread Perl not BNF-able??
by anonymized user 468275
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |