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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589857]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2017-03-29 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.