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


in reply to making perl more forgiving

Nothing is impossible, but quoting errors can be easily avoided when using an editor which does syntax highlighting.

Nevertheless:

#!perl use warnings; use strict; BEGIN { $SIG{__DIE__} = sub { print "foxxy"; exit; } } print "fox' __END__

-- Frank