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

Re: Validating hash values

by reptile (Monk)
on Sep 16, 2000 at 03:13 UTC ( #32759=note: print w/ replies, xml ) Need Help??


in reply to Validating hash values

You need to change that foreach to be keys %dateparts. As it is, it's going over both the keys and the values, and when it gets to value, it's false because that key doesn't exist yet.

foreach my $element (keys %dateparts) { ... }

local $_ = "0A72656B636148206C72655020726568746F6E41207473754A"; while(s/..$//) { print chr(hex($&)) }


Comment on Re: Validating hash values
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-07-31 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls