Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: counting yesterdays hits in a logfile

by Anonymous Monk
on Nov 13, 2012 at 06:00 UTC ( #1003558=note: print w/ replies, xml ) Need Help??


in reply to Re: counting yesterdays hits in a logfile
in thread counting yesterdays hits in a logfile

Basic CGI can even make the html a lot better, like so:

... use CGI qw(:standard); my $q = CGI->new; print $q->start_html( -title => 'Yesterday Hits' ), $q->h1("today is: $tm"), $q->h3("Yesterday was $yesterday"), $q->table( { border => '1', cellpadding => '10', width => '500' }, Tr( td("Total Hits: $totalhits"), td("Hits Yesterday: $yeste +rdayHits"), ) ), $q->end_html;


Comment on Re^2: counting yesterdays hits in a logfile
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003558]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-08-27 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls