Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: Re (tilly) 3: No excuses about not using CGI.pm

by MeowChow (Vicar)
on May 04, 2001 at 01:37 UTC ( #77795=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re (tilly) 3: No excuses about not using CGI.pm
in thread variables not posting?

Right, I was commenting on tilly's statement that reversing the order is a good way to silently ignore the prototype.

However, I wonder if the documentation in perlmod should be revised from:

A BEGIN subroutine is executed as soon as possible, that is, the moment it is completely defined, even before the rest of the containing file is parsed.
To something like:
A BEGIN subroutine is executed as soon as possible, that is, the moment it is completely defined, even before subsequent code is parsed, but after the code before it is parsed and compiled.
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on Re: Re: Re: Re (tilly) 3: No excuses about not using CGI.pm
Re: Re: Re: Re: Re (tilly) 3: No excuses about not using CGI.pm
by merlyn (Sage) on May 04, 2001 at 01:39 UTC
    I can't think of a time I would have expected it to be parsed before the code ahead of it is parsed. I mean, the compiler doesn't skip around willy-nilly in the source file!

    Are you familiar with languages where the parser skips around? And if so, where does it skip to without, uh, parsing the file? {shrug}

    -- Randal L. Schwartz, Perl hacker

      Well, the operative words were "parsed and compiled".
         MeowChow                                   
                     s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77795]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-07-26 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls