PerlGoblin has asked for the wisdom of the Perl Monks concerning the following question:
$from = "news.dat"; open(FILE, "$from") || die "Can't open $from!\n"; while (<FILE>) { chop; ($title,$url,$site,$date,$description) = split(/~/,$_); print "<table width=400><tr>"; print "<td><a href=\"$url\"><font color=blue>$title</font></a><br> +<font color=black>$date,$site<br>$description</font></td>"; print "</tr></table><br>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sorting a logfile by date to print to html
by CubicSpline (Friar) on Oct 09, 2001 at 21:59 UTC | |
by Anonymous Monk on Oct 10, 2001 at 00:59 UTC | |
|
Re: Sorting a logfile by date to print to html
by mikeB (Friar) on Oct 09, 2001 at 21:23 UTC | |
|
Re: Sorting a logfile by date to print to html
by cjensen (Sexton) on Oct 09, 2001 at 21:50 UTC |