Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 taking refuge in the Monastery: (12)
As of 2015-07-06 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls