I want to create function that will process multiple variables and return multiple arrays, something like this:
(@file, @file2) = getfile('file.txt', 'file2.txt');
Can anyone write an example of such sub ?
P.S. Number of variables passed to function may vary