Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-09-02 08:06 GMT
Find Nodes?
    Voting Booth?

    My preferred temperature scale is:

    Results (66 votes), past polls