in reply to Re: BEGIN and END with -p or -n
in thread BEGIN and END with -p or -n


"What BEGIN and END really does is documented in perlsub".

Actually perlsub points back to perlmod:

The BEGIN , CHECK , INIT and END subroutines are not so much subroutines as named special code blocks, of which you can have more than one in a package, and which you can not call explicitly. See "BEGIN, CHECK, INIT and END" in perlmod

--
John.