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

Re: What I am missing here

by druthb (Beadle)
on Mar 20, 2012 at 20:37 UTC ( [id://960651]=note: print w/replies, xml ) Need Help??


in reply to What I am missing here

You'll also need to dereference that reference, inside sub pick_a_card, of course:

#PICK A CARD sub pick_a_card { my $deckref = shift; my $card=pop(@{$deckref}); return $card; }

D Ruth Bavousett

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found