Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Defining classes and inheritance using packages within a single .pl file, without creating modules

by adrianh (Chancellor)
on Nov 30, 2006 at 01:15 UTC ( #586848=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Defining classes and inheritance using packages within a single .pl file, without creating modules
in thread Defining classes and inheritance using packages within a single .pl file, without creating modules

IMO base is a crap module, it tries to handle both loading external files and inline packages, but it tries Too Much Magic™ and in some cases it may fail. It's failed many times for me in the past. I don't trust it any more.

Use it all the time. Never had a problem with it :-)

I don't really think it's that magical. Two rules:

  • If the package is already loaded - use it
  • Otherwise, try and use it.


Comment on Re^3: Defining classes and inheritance using packages within a single .pl file, without creating modules

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-04-17 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (450 votes), past polls