i am doing like below:
thecalledscript.pl needs a filename as argument. here is how i am calling it from a thecalling_script: { local @ARGV; @ARGV = ("$filename"); require "thecalledscript.pl"; } issue is, the called script prints some filenames after completion to STDOUT. how can i collect them into an array variable?