http://qs321.pair.com?node_id=632779

clinton has asked for the wisdom of the Perl Monks concerning the following question:

I have 3 modules which all inherit from a base module, which contains (obviously) the common methods.

I also have a few 'static' subs which all the modules need to use, but they don't need to use them as methods, eg sub timestamp {} as they are utility functions and have nothing to do with the object.

The way I see it, I have two options:

The second option doesn't "feel" right, because timestamp is not a method, but it is certainly (a few lines) easier than exporting the sub.

What would you do?

thanks

Clint