Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: BEGIN and compile-time

by ikegami (Pope)
on Nov 02, 2006 at 16:50 UTC ( #581922=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print("first");
    BEGIN {
    ...
      use ModX;
    }
    print("last");
    
  2. or download this
    use lib '../';           # Before "delete" because of "use"
    use ModX;                # Before "delete" because of "use"
    delete $INC{'ModX.pm'};  # Before "first" because of "BEGIN"
    print("first");
    print("last");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2016-06-29 15:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (384 votes). Check out past polls.