eval { require $interface }; if ( ! $@ ) { push @ISA, $interface; # implement interface methods. }