Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^6: Dynamically Changing Packages w/out Eval

by ikegami (Patriarch)
on Aug 24, 2009 at 21:35 UTC ( #790919=note: print w/replies, xml ) Need Help??

in reply to Re^5: Dynamically Changing Packages w/out Eval
in thread Dynamically Changing Packages w/out Eval

it's still annoying to debug warnings like "Argument isn't numeric at eval 2718, line 314".

Note that my code does nothing but load a module. Everything is calculate beforehand. To avoid problems such as the one you mention, calculate everything in advance or move the calculations into a sub called from the evaluated code.

There's something very wrong if you're evaluating 314 lines.

  • Comment on Re^6: Dynamically Changing Packages w/out Eval

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-02-03 12:46 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (25 votes). Check out past polls.