in reply to RE: RE: Re: Interfaces
in thread Interfaces

merlyn:
BEGIN { for my $fakir (qw(methodOne methodTwo)) { *$fakir = sub { die "undef abstract method $fakir used by ".(shift +); } } }
causes an error with use strict; (Can't use string ("foo") as a symbol ref) and i needed to add
no strict 'refs';
inside the BEGIN:...is there a better way?

--
michael d. ivey, ivey@gweezlebur.com