Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Intercepting compile time blocks like BEGIN {}

by ikegami (Patriarch)
on Aug 09, 2010 at 23:53 UTC ( [id://853936]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E'eval "BEGIN { say q{foo} }"'
    foo
    ...
    $ perl -E'eval "INIT { say q{foo} }"'
    
    $
    
  2. or download this
    $ perl -E'BEGIN { eval "CHECK { say q{foo} }" }'
    foo
    ...
    $ perl -E'BEGIN { eval "INIT { say q{foo} }" }'
    foo
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-29 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found