http://www.perlmonks.org?node_id=987314


in reply to Undefined subroutine - newbie problem

'Exporter' works by creating an import method in your module. That method is called when you use your module, but not when you merely require it.

Compare require and use.