in reply to usage of EXPORT function

Modules written to be used for OO should generally not be exporting anything. Especially they should never export a sub which is expected to be called as a method.

(This was intended as a reply to the OP, not to 2teez. Anyone who has suitable privileges, feel free to re-parent it.)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'