use strict;
print "Content-type: text/html\n\n";
open (LOG, "missatges.txt") || die "$!";
while () {
chomp;
my @attributes = split/\|/;
print "$attributes[0] . '||' . $attributes[1]\n";
print "
\n";
print "$attributes[2]\n";
print "
\n";
}
CLOSE LOG;