logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

App::St - Simple Statistics

Author

       Nelson Ferraz <nferraz@gmail.com>

Contributing

       Send comments, suggestions and bug reports to:

       https://github.com/nferraz/st/issues

       Or fork the code on github:

       https://github.com/nferraz/st

Description

       App::St provides the core functionality of the st-console application.

Methods

new(%options)validate($num)process($num)Nsummeanstddevstderrpercentile=<0..100>quartile=<0..4>minq1medianq3max

Name

       App::St - Simple Statistics

Synopsis

         use App::St;

         my $st = App::St->new();

         while (<>) {
           chomp;
           next unless $st->validate($_);
           $st->process($_);
         }

         print $st->mean();
         print $st->stddev();
         print $st->sterr();

See Also