Help for this page

Select Code to Download


  1. or download this
    package InvoiceCalculatorFactory;
    
    ...
             new_school => 'InvoiceCalculator::NewSchool' );
    __PACKAGE__->add_factory_type(
            delinquent => 'InvoiceCalculator::Delinquent' );
    
  2. or download this
    my $calculator = InvoiceCalculatorFactory->new( $client->type );