Folks,

looking for a simple example of putting a set of filenames into an array
and then opening each of them for parsing.

I was think of 


@files = ( "file1", "file2", "file3" );

foreach $file (@files) {
        open FN, "< $file";
        do something here
        close
}


am I correct? or isthere a better way todo this?

-Ron


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to