Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Mixing @EXPORT and use base

by chromatic (Archbishop)
on Jul 07, 2004 at 18:52 UTC ( [id://372507]=note: print w/replies, xml ) Need Help??


in reply to Mixing @EXPORT and use base

base doesn't call import(); it exists to help with subclassing, not procedural module loading. Either stick with use or call import() yourself.

Replies are listed 'Best First'.
Re^2: Mixing @EXPORT and use base
by bmcatt (Friar) on Jul 07, 2004 at 19:34 UTC
    Ah-ha... The lightbulb finally went on...

    This is the first time I've really needed to delve into the import / export mechanism, so this has definitely been uncharted territory for me.

    I've now got a working version that includes pushing External's @EXPORT and just a use base / import in Bar. It's not as absolutely clean as I'd like, but I suspect it's probably as good as I'm going to get.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-20 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found