Can't call method "get_desc" on unblessed reference at testitem.pl line 17 (#1) (F) A method call must know in what package it's supposed to run. It ordinarily finds this out from the object reference you supply, but you didn't supply an object reference in this case. A reference isn't an object reference until it has been blessed. See perlobj. Uncaught exception from user code: Can't call method "get_desc" on unblessed reference at testitem.pl line 17. at testitem.pl line 17