Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: map question

by toolic (Bishop)
on Jul 26, 2019 at 16:54 UTC ( #11103469=note: print w/replies, xml ) Need Help??


in reply to map question

You should have used the variable $item as the key instead of the string item. Change:
unless ( $skipper {item} ) { # not found in list?
to:
unless ( $skipper {$item} ) { # not found in list?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2019-11-20 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (96 votes). Check out past polls.

    Notices?