We don't bite newbies here... much | |
PerlMonks |
On Compilation, Call Trigger Policy: Now vs Inlineby ian (Beadle) |
on Dec 06, 2007 at 10:04 UTC ( [id://655339]=perlquestion: print w/replies, xml ) | Need Help?? |
ian has asked for the wisdom of the Perl Monks concerning the following question:
While reading The Camel, ch18 Table 18-1 on page 484 (3rd edition), I came across this notion of "Call trigger Policy".
I'm confused about the difference between "Inline", and "Now". I see that "Now" applies to BEGIN blocks, and this seems straightforward. But then eval introduces "Inline", and "Call later". I believe I saw someone earlier tonight give some example with print and sub's evaluating their arguments; I believe this means "jumping back" from runtime into compile time.
--
Ian Tegebo
Back to
Seekers of Perl Wisdom
|
|