in reply to Re: evaluating syntax of code blocks (code)
in thread evaluating syntax of code blocks (code)

Cool, but don't forget

$code = <<'CODE'; END {print '# post-hacked #';} print "Hello World!\n"; CODE
the END block.

/J

Replies are listed 'Best First'.
Re: Re: Re: evaluating syntax of code blocks (code)
by tachyon (Chancellor) on Jul 03, 2001 at 04:06 UTC

    Thanks, forgot about them. CHECK blocks will also do the trick so best to remove all of the BEGIN|CHECK|INIT|END blocks.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n\w+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print