- or download this
package pkg1;
use strict;
use factory;
etc, etc...
- or download this
package factory;
use strict;
use base qw(Class::Factory);
__PACKAGE__->add_factory_type(hello=>'speak::hello');
1;
- or download this
#!d:/perl
use lib 'c:/perlcode';
use pkg1;