Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Twofer: 'use base' vs 'use'; and SuperSearch

by adrianh (Chancellor)
on Dec 14, 2006 at 16:27 UTC ( #589857=note: print w/ replies, xml ) Need Help??

in reply to Twofer: 'use base' vs 'use'; and SuperSearch

But I'm still confused. The Module::Dependency code is object-oriented and are some of the modules it uses are. Can I leave 'use base (Exporter)' in place and add 'use Exporter;'? Or should I comment it out?

You don't need both. Doing  use base qw(Exporter) will load the module.

Comment on Re: Twofer: 'use base' vs 'use'; and SuperSearch
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2016-02-07 01:57 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (241 votes), past polls