Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Mixing @EXPORT and use base

by chromatic (Archbishop)
on Jul 07, 2004 at 18:52 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-05-27 21:07 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (97 votes). Check out past polls.