Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: 'base' versus @ISA, why?

by perrin (Chancellor)
on Jul 23, 2007 at 20:30 UTC ( #628324=note: print w/ replies, xml ) Need Help??


in reply to Re^4: 'base' versus @ISA, why?
in thread 'base' versus @ISA, why?

Hmm, none of my classes have $VERSION declarations, and base has never given me any trouble about it.


Comment on Re^5: 'base' versus @ISA, why?
Re^6: 'base' versus @ISA, why?
by adrianh (Chancellor) on Jul 24, 2007 at 11:53 UTC
    Hmm, none of my classes have $VERSION declarations, and base has never given me any trouble about it.

    Me neither.

    The current (5.8.8) use base requires the file (and ignores any not-found exceptions) if there isn't already a $VERSION for the package containing a scalar. So I guess if you have something that sets $VERSION in another package you will get problems - but that seems am odd edge case to me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (19)
As of 2014-10-30 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls