Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-08-27 14:24 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (380 votes). Check out past polls.