in reply to Re: File Stricture Help
in thread File Stricture Help

The  @files lexical variable is declared in file scope, and so will be "visible" within the subroutine and will have the expected content.

That said, it would still be most preferable to pass the list of file paths-and-names to the subroutine as an argument list!