Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Mixing @EXPORT and use base (simple)

by bmcatt (Friar)
on Jul 08, 2004 at 13:59 UTC ( [id://372803]=note: print w/replies, xml ) Need Help??


in reply to Re: Mixing @EXPORT and use base (simple)
in thread Mixing @EXPORT and use base

Well... Ok. "Moving parts" was a misnomer, but export_to_level doesn't solve the issue of use base. The other two bits that make me uncomfortable are that the "2" is a bit of a magic number (and doesn't allow for further "inheritance" of the exports) and I'd need to do that explicitly for every module that needs to generate exports.

By just altering @EXPORT in the base and putting an explicit import in the derived class, I get exactly the same behavior.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found