$ perl dblibtry.t 1..10 ok 1 - Defined DbLibTry=HASH(0x8847860) ok 2 - ISA ok 3 - Method ->connect() exists ok 4 - Method ->disconnect() exists ok 5 - Method ->get_all_songs() exists ok 6 - Connected Can't use an undefined value as a HASH reference at dblibtry.t line 46 (#1) (F) A value used as either a hard reference or a symbolic reference must be a defined value. This helps to delurk some insidious errors. Uncaught exception from user code: Can't use an undefined value as a HASH reference at dblibtry.t line 46. # Looks like you planned 10 tests but ran 6. # Looks like your test exited with 255 just after 6. $