Some more thought is required, as one could pass
as $code.} do nasty stuff; ... my $foo = <<"}";
This way, one could close the sub, execute whatever and keep the syntax correct by using the outer } as heredoc terminator.
AntonioIn reply to Re: Re: run-time syntax checking
by abell
in thread run-time syntax checking
by Pardus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |