clpoda / ieee.org wrote:

> This code is in the section titled
> 'Making a method work with either classes or instances'.

I try to avoid dual-mode (class/instance) methods in my Perl code.
I haven't found that I lose anything except design vagueness by doing this.

From a design standpoint, what does it mean to have the same method work 
for both classes and instances?
If it works for a class, then why do you need an instance method?