Help for this page

Select Code to Download


  1. or download this
    use List::Util 'sum';
    my $avg = @times ? sum(@times)/@times : "NaN";