Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: base.pm vs @ISA (typos)

by tye (Sage)
on Oct 09, 2007 at 14:57 UTC ( #643714=note: print w/replies, xml ) Need Help??


in reply to Re^2: base.pm vs @ISA (typos)
in thread base.pm vs @ISA

There is little reason for the two features to be mutually exclusive.

All that is needed is a better choice for when to not require and to not then also ignore if require fails.

Also note that the behavior that several people have had problems with and that caused me to stop using the module (and that Schwern appeared to abandon trying to fix) is the one that forces people to add require even though they used base. So running into that problem would break your favorite feature.

So the fixes I would make would prevent your pet feature from breaking.

Also note that there are several pitfalls to putting multiple related classes into a single file (just a few days ago somebody at PerlMonks had exactly that problem) and base.pm as I would fix it would require that parent classes be defined before derived classes, which might catch some problems for some people but might be inconvenient for you.

- tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-01-24 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?