Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Skunk Game - first cut

by hydo (Monk)
on Jun 21, 2003 at 11:24 UTC ( #267792=note: print w/replies, xml ) Need Help??

in reply to Skunk Game - first cut

That's really really cool. I especially like the constant "COWS_CAME_HOME".

Anyway, with reguards to the meta objects, I should really pull my head up out of the sand once in a while because I've never seen extensions approached this way. I have a medium sized application that I have been working on for some time and I admit it uses nothing this elegant when it comes to it's extensions.


Replies are listed 'Best First'.
Re: Re: Skunk Game - first cut
by John M. Dlugosz (Monsignor) on Jun 21, 2003 at 20:18 UTC
    Thanks. Speaking of Cows, the first time playing after tracking down some real skunk dice, I was playing with my little nephew and my dad. When he had to leave for a moment, I switched one of the skunk dice for a cow die. Daniel could barely conceal his excitement at the joke, and sure enough, dad rolled a Cow on his next turn, and played it up nicely.

    Seriously, I'm glad you like the extension mechanism. I'm not convinced that it's "elegant" in a large software engineering sence -- it should use normal Perl objects. But I think this is handy in reducing the amount of work that needs to be done, and avoiding the need to put more than one package in a file. So it's "elegant" in some other sence of the word, like a perl -e line that lets you replace a whole program with a one-liner.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2023-10-03 13:01 GMT
Find Nodes?
    Voting Booth?

    No recent polls found