in reply to
How do I know if I'm in a BEGIN block?
You could use caller() to see if one of the functions in the call chain is called 'BEGIN'
Dave.
Comment on
Re: How do I know if I'm in a BEGIN block?
In Section
Seekers of Perl Wisdom