Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Attribute::Handler's behaviors with use vs require

by Athanasius (Archbishop)
on Jul 10, 2012 at 14:31 UTC ( [id://980877]=note: print w/replies, xml ) Need Help??


in reply to Attribute::Handler's behaviors with use vs require

BEGIN { require 'FOO.pm'; FOO->import(); } FOO::foo();

Output:

Executing subroutine Executing Foo You Pass

as required.

HTH,

Athanasius <°(((><contra mundum

Replies are listed 'Best First'.
Re^2: Attribute::Handler's behaviors with use vs require
by rpg (Novice) on Jul 10, 2012 at 17:09 UTC
    Yes, thanks for the reply. But for me this require statement is in an eval statement.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found