in reply to RE: Re: Chain
in thread Chain

You can use the c precompiler with perl. (-P)

Or you could put a similar check in the BEGIN block of you package, along with some wizardry to get out of the package from the BEGIN block... maybe a goto or something.   (I wouldn't die or exit there, and returning would just get you out of the BEGIN block, not the package.)