Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Can't call method "MoveBook" on an undefined value

by davido (Archbishop)
on Jan 24, 2013 at 18:45 UTC ( #1015206=note: print w/ replies, xml ) Need Help??

in reply to Can't call method "MoveBook" on an undefined value

You have a lot of options: BUILD, BUILDARGS, or possibly even "lazy => ..., builder => ..."

At first blush I would say it could be a job for a BUILD routine, but would prefer to see more before saying for certain. If possible I would favor doing it in the attribute's declaration (again, possibly builder).

See Moose::Manual::Construction, and Moose::Manual::Attributes for more explanation.


Comment on Re: Can't call method "MoveBook" on an undefined value
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-02-14 22:18 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (471 votes), past polls