Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://374558]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-06-18 04:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (108 votes). Check out past polls.