Help for this page
open(DATA,"myfile") or die "No, can't open the file"; while(<DATA>) { my @elements = split('\|',$_); # do something with the elements here }
open(INPUT,"myfile") or die "Can't open file"; print "<html><head><title>My page</title></head><body>"; ... print "</tr>"; } print "</table></body></html>";