Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: A Class:: module I don't want to write

by Anonymous Monk
on Nov 23, 2005 at 21:58 UTC ( [id://511269]=note: print w/replies, xml ) Need Help??


in reply to A Class:: module I don't want to write

Did you consider Class::MakeMethods?
  • Comment on Re: A Class:: module I don't want to write

Replies are listed 'Best First'.
Re^2: A Class:: module I don't want to write
by Ovid (Cardinal) on Nov 23, 2005 at 22:18 UTC

    No. In wading through the Class:: heirarchy, I missed that. Of course, it fails the "simple" test and while it gives me a bit of flexibility on my object's internals, it still exposes them. This exposure means that once I've chosen my object's internal represenation, I have to switch to a different Class::MakeMethods subclass if I need to change them (and I've had to change internals before). I also don't see any explicit argument validation available.

    Cheers,
    Ovid

    New address of my CGI Course.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-18 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found