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

Re: eval() issues.

by matija (Priest)
on Jul 15, 2004 at 07:12 UTC ( #374558=note: print w/ replies, xml ) Need Help??


in reply to eval() issues.

That is a big, BIG chunk of code. Why do you want to put it into an eval? Why not just change it into a subroutine, and call it?

If you're changing it dynamicaly in your eval, are you sure that what is getting executed is actualy what you expect?

Have you tried stepping through the code in a debugger while it executes? Did you look what is happening step by step and check the results of each statement to see if it's getting what you expect? Because I bet the first problem happens way before that print statement.


Comment on Re: eval() issues.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-12-17 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (40 votes), past polls