Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Which DateTime:: module to use?

by Cristoforo (Deacon)
on Aug 27, 2012 at 14:03 UTC ( #989991=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
        printf "Avg of %d lines", scalar @data;
        print +(map {sprintf "%10.5f", $sum[$_] / @data} @idx), "\n";
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    2011.01.13,22:00,1.33494,1.33563,1.33489,1.33524,318
    2011.01.13,22:05,1.33524,1.33551,1.33512,1.33549,182
    2011.01.14,22:05,1.33524,1.33551,1.33512,1.33549,182
    
  3. or download this
    C:\Old_Data\perlp>perl t33.pl
    2011-01-13 21:00:00  -+-  2011-01-14 09:00:00
    Avg of 9 lines   1.33478   1.33509   1.33458   1.33482
    2011-01-14 22:00:00  -+-  2011-01-15 10:00:00
    Avg of 1 lines   1.33524   1.33551   1.33512   1.33549
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-04 13:45 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 (60 votes), past polls