Useless use of a variable in void context at test.pl line 5. Can't use an undefined value as an ARRAY reference at test.pl line 5.