in reply to Re: 'strict refs' + 'strict sub' = suck.
in thread 'strict refs' + 'strict sub' = suck.
return(FILE);
That's the line causing the error. I'm not sure what that subroutine is supposed to do, as it is reading the file into a lexical array, local to the subroutine, and not doing anything with it afterwards. Maybe you want to:
or:return @avatars;
return \@avatars;
?
Liz
|
|---|