Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 chanting in the Monastery: (14)
As of 2014-09-17 14:00 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (81 votes), past polls