Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
The stupid question is the question not asked
 
PerlMonks  

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

by kcott (Abbot)
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


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-04-19 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls