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

Re^2: 'base' versus @ISA, why? (too much)

by Joost (Canon)
on Jul 21, 2007 at 21:36 UTC ( #628033=note: print w/replies, xml ) Need Help??


in reply to Re: 'base' versus @ISA, why? (too much)
in thread 'base' versus @ISA, why?

My thoughts exactly. I don't know and I don't WANT to know when base.pm thinks it should load a module, and when it thinks it should ignore a require error. On significantly complex systems, setting @ISA and use()ing module "by hand" makes things clearer. Maybe not easier, but clearer none the less.

Update: I still do use base for simple modules. But I do regularly run into situations where it just doesn't work right.

  • Comment on Re^2: 'base' versus @ISA, why? (too much)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-24 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?