You might want to consider Test::More's use_ok method.
/J\
In reply to Re: Test that a module is installed by gellyfish in thread Test that a module is installed by tphyahoo