Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Generic front end with back-end drivers?

by samtregar (Abbot)
on Feb 12, 2008 at 18:13 UTC ( [id://667639] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      if ($type eq 'foo') {
         $parser = "Parser::Foo";
    ...
      }
    
      eval "use $parser" or die "Can't load $parser: $@";
    
  2. or download this
      $parser->do_that_thing($with_this);