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

Re: Re: Re: Getting HASHES out of Class::DBI

by rkg (Hermit)
on Jan 07, 2004 at 17:19 UTC ( [id://319522]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Getting HASHES out of Class::DBI
in thread Getting HASHES out of Class::DBI

Amen and amen and ++ and ++.

<soapbox>

Breaking encapsulation should be only used as a dire last resort -- and certainly not in production code.

Going uninvited into the innards of an object is like buying a car with airbags then disabling them, or removing your car's seatbelts. Yeah, you can do it, and eveything will seem fine for a while, and then something goes wrong and you get badly hurt.

Objects are more than a funny way to call a useful subroutine -- they are an agreement between caller and callee as to a strict API, with everything behind the API wall treated as a black box.

</soapbox>

Apologies if I am preaching to the converted, the spirit moved me.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found