Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 taking refuge in the Monastery: (14)
As of 2015-07-30 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls