Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: If condition

by davorg (Chancellor)
on Jul 14, 2009 at 11:20 UTC ( #779877=note: print w/ replies, xml ) Need Help??


in reply to If condition

Can you please tell me what is the problem in above conditions.

Hard to be sure without knowing more about your data. What unexpected behaviour are you seeing? Do you really have hashes with keys called "key" and "value"?

How to store the value of $cor and $date oustide the if condition

Store the values in variables that are declared outside of the if block.

--

See the Copyright notice on my home node.

Perl training courses


Comment on Re: If condition

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-27 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls