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
In reply to RE: RE: RE: Re: Interfaces
by ivey
in thread Interfaces
by haggs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |