in reply to
perl -c and BEGIN block
PPI
is indeed your only alternative that I'm aware of. But if you're deploying code aren't you going to be vulnerable to a misbehaving BEGIN eventually anyway?
-sam
Comment on
Re: perl -c and BEGIN block
In Section
Seekers of Perl Wisdom