As all you are passing to @filesToDisplay is the first element in @_ which is just a flattened list of passed parameter @files. What you are probably looking for is:@filesToDisplay = @_[0];
my @filestoDisplay = @_;
-enlil
In reply to Re: Missing array values after sub routine?
by Enlil
in thread Missing array values after sub routine?
by heezy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |