in reply to RE: RE: Re: Interfaces
in thread Interfaces
causes an error with use strict; (Can't use string ("foo") as a symbol ref) and i needed to addBEGIN { for my $fakir (qw(methodOne methodTwo)) { *$fakir = sub { die "undef abstract method $fakir used by ".(shift +); } } }
inside the BEGIN:...is there a better way?no strict 'refs';
--
michael d. ivey,
ivey@gweezlebur.com
|
|---|