Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by kcott (Chancellor)
on Jan 24, 2013 at 18:59 UTC ( #1015209=note: print w/replies, xml ) Need Help??


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

G'day bgu,

I'd suggest using the default option with the has attribute - see Moose - EXPORTED FUNCTIONS for details.

Side issue: it looks like you're missing a $ before the second Libr in:

$Libr->MoveBook(Libr->PopBook);

-- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015209]
help
Chatterbox?
[holli]: I really like these guys. Ugly, but hell of a flow.
[holli]: Quite good evidence immigrants can contribute to a countries culture.
LanX ... let me hear your body talk...
[LanX]: well ...immigrant music...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-12-13 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?