[rt-devel] Mail::Field::addrlist weirdness

Tobias Brox tobiasb at tobiasb.funcom.com
Tue Jun 6 04:47:15 EDT 2000


Looking closer at the code, it seems pretty obvious that it must be
something wrong with Field.pm itself: 

   foreach $f (readdir(DIR))
     next
        unless $f =~ /^([\w\-]+)/;

     my $p = lc $1;
     (...)
     eval "require ${pkg}::$p"

This is plain wrong, that's one thing.  But I'm still interessted to see
the stack trace to discover why this shi^H^H^Hinteressting piece of code
was called in the first place.  It's really a waste to require packages
that are never used.

-- 
"The trouble with the world is that the stupid are
 cocksure and the intelligent are full of doubt."
- Bertrand Russell







More information about the Rt-devel mailing list