Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 imbibing at the Monastery: (4)
As of 2015-11-29 09:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls