in reply to Re: open multiple file using loops
in thread open multiple file using loops

perl foo.pl arg1file arg2file arg3file
arg1file... are in the global variable @ARGV, which Iterator::Diamond reads one by one by one without magic