Help for this page

Select Code to Download


  1. or download this
    my %category = (
        'ClassOne'   => ['ClassOne',   'process'],
        'ClassTwo'   => ['ClassTwo',   'process'],
        'ClassThree' => ['ClassThree', 'process'],
    );
    
  2. or download this
    eval 'use Category::'.$category{$$methods{'category'}}[0].';'.
         'my $handle = Category::'.$category{$$methods{'category'}}[0].'->
    +new();'.
         '$handle->'.$category{$$methods{'category'}}[1].'($key, $params, 
    +$testCase);';
    print $@ if ($@);