- tye (but my friends call me "Tye")package B; sub new { my $this= shift @_; my $type= shift @_; return "D$type"->new( @_ ); }
In reply to Re: Factory Pattern for Class Heirarchy
by tye
in thread Factory Pattern for Class Heirarchy
by dcorbin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |