Other people have given you the right answer to your question. I'd like to note that the package name 'Test' is really, really bad. There is a Test package already in the core perl distribution and you risk mixing the two, especially if another module uses the built-in Test module. You should nearly always name your modules in two or more words like 'My::Test'.