Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: What's wrong with my Perl process timer? [SOLVED]

by taint (Chaplain)
on Jun 07, 2013 at 22:20 UTC ( [id://1037771]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    printf('Page processed by Perl %s in %.02f seconds',$],$total_time);
    
  2. or download this
    printf('Page processed by Perl %s in %.6f seconds',$],$total_time);
    
  3. or download this
    #!/usr/bin/perl -Tw
    # at the top of your page(s)
    ...
    my $total_time = tv_interval($start_time);
    printf('Page processed by Perl %s in %.6f seconds',$],$total_time);
    # note: could also have used sprintf
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-03-29 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found