# This snippet: $item->subs(my_execer($SQL)); # is just another way of writing my @tmp = my_execer($SQL); $item->subs(@tmp) # Here's the output printing weird stuff 1054226 426 $VAR1 = bless( [ 1054226, 426, [] ], 'Item' ); @retval contains 0 $VAR1 = bless( [ 50501948, -1, [] ], 'Item' ); $VAR1 = []; Can't call method "type" on unblessed reference at ./Caa.pl line 173.