in reply to Re^2: Reading/Parsing an XML file using Perl
in thread Reading/Parsing an XML file using Perl

1)

toolic posted:

You can get a list of XML files in a directory using glob. Then, loop over those files

2)
use strict; use warnings; use 5.010; open my $OUTFILE, '>', 'data.txt' or die "Couldn't open data.txt: $!"; for (1 .. 10) { say {$OUTFILE} 'hello world'; } close $OUTFILE;