Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Basic Data::Dumper read back question

by GotToBTru (Prior)
on Jun 05, 2014 at 15:34 UTC ( [id://1088870]=note: print w/replies, xml ) Need Help??


in reply to (Solved) Basic Data::Dumper read back question

Where are $now1 and $then1 given values? Looks like the eval statements must do it. If you step thru using the debugger, do you see they are defined inside the if statements?

1 Peter 4:10
  • Comment on Re: Basic Data::Dumper read back question

Replies are listed 'Best First'.
Re^2: Basic Data::Dumper read back question
by wjw (Priest) on Jun 05, 2014 at 15:54 UTC

    Yes, the eval does set those two values. That is what had me going with this. They did in fact show up during the eval, but went undefined as soon as I got to the body of the if statement. poj hit on my obvious mistake in scoping shortly after you posted.

    Thanks much for taking a look!

    ...the majority is always wrong, and always the last to know about it...

    Insanity: Doing the same thing over and over again and expecting different results...

    A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is a facct

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found