Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Generally accepted style in Perl objects

by stephen (Priest)
on Dec 29, 2000 at 03:56 UTC ( [id://48728]=note: print w/replies, xml ) Need Help??


in reply to Generally accepted style in Perl objects

The question is, if you make a change to the internals of one class, are you going to affect other classes?

If you're messing with the internals of your class in three other modules, then you and other future developers will be sticking pins in voodoo dolls shaped like you if you have to make changes to the class in the future. :)

Class::MethodMaker will let you create those methods without having to go through and type all those subroutines. This will also make them easier to change in the future.

stephen

  • Comment on Re: Generally accepted style in Perl objects

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found