Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Domain Nodelet?
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 lurking in the Monastery: (5)
As of 2021-10-18 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (73 votes). Check out past polls.

    Notices?