Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?


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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://866931]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-06-25 15:54 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (568 votes). Check out past polls.