Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What does undef do when I say @hashslice{@array} = undef

by Anonymous Monk
on Nov 05, 2014 at 09:52 UTC ( [id://1106173]=note: print w/replies, xml ) Need Help??


in reply to What does undef do when I say @hashslice{@array} = undef

You skipped perlintro :) you've not identified %unique as a hash

Also, this is interesting :)  [perldoc://unique] unique -> perlfaq4#How can I remove duplicate elements from a list or array?

Use a hash. When you think the words "unique" or "duplicated", think "hash keys".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-04-19 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found