Show
Ignore:
Timestamp:
11/16/07 21:08:27 (1 year ago)
Author:
miker
Message:

replacing eval "use blah" with "blah"->use();

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm

    r7796 r8079  
    1212use Apache2::RequestUtil; 
    1313use Data::Dumper; 
     14use UNIVERSAL::require; 
    1415 
    1516use OpenSRF::EX qw(:try); 
     
    6263    $logger->debug("Attempting to load Added Content handler: $ac_handler"); 
    6364 
    64     eval "use $ac_handler"; 
     65    $ac_handler->use; 
    6566 
    6667    if($@) {