Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Perl Epiphanys

by rfb (Sexton)
on Jan 16, 2001 at 01:24 UTC ( #52062=perlmeditation: print w/replies, xml ) Need Help??

The gods have given me a taste of a better style

Had many a perl epiphany this weekend, Figured out why I keep bless'ing things and how to use their blessings to put all my classes into one larger class. How to keep myself from pasting the same $object->new and $object->store methods around.
I know this many be nothing new to some people, and it may be way above the heads of others.

The god have been good to me, and I must share my new enlightenment.


Replies are listed 'Best First'.
Re: Perl Epiphanys
by dws (Chancellor) on Jan 16, 2001 at 01:41 UTC
    If by "put all my classes into one larger class" you mean assembling a logical object out of distinct objects, you may be doing a Good Thing. If, however, you mean to combine classes into one big class, then verily you are not doing a Good Thing, and have a new opportunity for enlightenment ahead of you.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://52062]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-11-29 18:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found