Here is what you have:
sub viewThumbnails{ @filesToDisplay = @_[0];
Here is what it should be:
sub viewThumbnails{ @filesToDisplay = @_;
Had you enabled warnings with -w or use warnings; it would have flagged that line.
In reply to Re: Missing array values after sub routine?
by Mr. Muskrat
in thread Missing array values after sub routine?
by heezy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |