[Chicago-talk] Where'd I come from?

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Fri Jan 26 09:56:17 PST 2007

> Why are you using string evals?  What's wrong with:

eval {
  require 'whatever';

Er, I'm not. Its 'legacy' production code which we can't really change 
(and this'd be way down on the list of changes we'd like to make - its a 
bit of a mess ;-).  The string evals are just something we shake our heads 
at and live w/ ... and don't get me started on the 'package'-ing.  Worse 
than not using it is a hit or miss mix of using it. We see them ending up 
prepending main:: quite a lot (lots of globals here) 'just in case' ....



Andy Bach
Systems Mangler
Internet: andy_bach at wiwb.uscourts.gov
VOICE: (608) 261-5738  FAX 264-5932

   Although few may originate a policy, we are all able to judge it.
    Pericles of Athens, c.430 B.C.

More information about the Chicago-talk mailing list