in reply to Re^2: replace conditionals with polymorphism
in thread replace conditionals with polymorphism

You likely know this, but others mightn't:

Perl provides the class with no name. It's identical to the main:: namespace:

package Hello; @Hello::ISA=''; package main; sub p { print for @_ }; Hello->p('World')