On Sat, Nov 29, 2003 at 11:15:56PM +0100, Elizabeth Mattijsen wrote: > --- pod/perlmod.pod.original Sat Nov 29 21:39:52 2003 > +++ pod/perlmod.pod Sat Nov 29 23:00:46 2003 > +A C<BEGIN> CODE block is executed as soon as possible, that is, the moment > +it is completely defined, even before the rest of the containing file (or > +string) is parsed. You may have multiple C<BEGIN> blocks within a file (or > +string) -- they will execute in order of definition. Because a C<BEGIN> I think 'string' here should be 'eval string' (or 'evaled string'). Otherwise someone may think BEGIN {} blocks are executed in any string. > --- pod/perlsub.pod.original Sat Nov 29 22:12:17 2003 > +++ pod/perlsub.pod Sat Nov 29 22:50:01 2003 > @@ -202,13 +202,17 @@ > +The C<BEGIN>, C<CHECK>, C<INIT> and C<END> subroutines are not so much > +subroutines as well as named magic CODE blocks, of which you can have more I think 'as well as' should just be 'as'. RonaldThread Previous | Thread Next