Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Creating a Moose object and serializing it

by mojotoad (Monsignor)
on Oct 23, 2010 at 06:09 UTC ( #866931=note: print w/ replies, xml ) Need Help??


in reply to Creating a Moose object and serializing it

Smells like you're actually after a caching mechanism for is_circular().

How often is circularity likely to change? Maybe you need something like has_been_circular().

If it doesn't change, then just provide separate objects for circles and lines. What is it you're trying to do, anyway?

Cheers,
Matt


Comment on Re: Creating a Moose object and serializing it
Select or Download Code
Replies are listed 'Best First'.
Re^2: Creating a Moose object and serializing it
by daverave (Scribe) on Oct 23, 2010 at 07:31 UTC
    Circularity never changes. I'm taking a look at `Moose::Manual::Roles` and `MooseX::AbstractFactory` to see if I can perhaps create a single interface with two implementations (sorry for the Java terms).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2015-07-31 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls