Can't use an undefined value as an ARRAY reference at ttt.pm line 21. # Looks like your test died before it could output anything.