Help for this page

Select Code to Download


  1. or download this
    "Timestamp","Average","Unit"
    "2017-03-01T04:05:00Z","145.8","Count"
    "2017-03-01T10:35:00Z","182.2","Count"
    "2017-03-01T05:30:00Z","180.2","Count"
    
  2. or download this
    use warnings;
    use strict;
    ...
    for my $datapoint ( @{ $data->{Datapoints} } ) {
        $csv->print(select, [ map {$datapoint->{$_}} @fields ]);
    }