Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Perl hash keys not considered unique (updated)

by elfstones65 (Novice)
on Apr 23, 2018 at 14:30 UTC ( #1213436=note: print w/replies, xml ) Need Help??


in reply to Re: Perl hash keys not considered unique (updated)
in thread Perl hash keys not considered unique

You hit the nail on the head. Trying to have the hash with shall I say multiple levels was the cause.

 $files{"$processingFile"} = 1

Simply changing it to

 $files{"$processingFile"}{"file"} = $processingFile;

Worked!
Such a minor mistake, I was going nuts!

Much appreciated.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-11-27 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?