Perl seems to do some magic with import method call. Even if you don't define it always work:
in reply to Re: Loading class
in thread Loading class
$ perl -e 'XXX->xxx'
Can't locate object method "xxx" via package "XXX" (perhaps you forgot
+ to load "XXX"?)
at -e line 1.
$ perl -e 'XXX->import'
# no error
Ilya Martynov, firstname.lastname@example.org
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org