Acme::ToolsLots of more or less useful subs lumped together and exported into your namespace | |
Download |
Acme::Tools Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kjetil Skotheim
- Publisher web site:
- http://search.cpan.org/~kjetil/
Acme::Tools Tags
Acme::Tools Description
Lots of more or less useful subs lumped together and exported into your namespace Acme::Tools is a set of more or less useful subs collected for some time...SYNOPSIS use Acme::Tools; print sum(1,2,3); # 6 print avg(2,3,4,6); # 3.75 my @list = minus(@listA, @listB); # set operations my @list = union(@listA, @listB); # set operations print length(gzip("abc" x 1000)); # far less than 3000 writefile("/dir/filename",$string); # convenient my $s=readfile("/dir/filename"); # also conventient print "yes!" if between($pi,3,4); print percentile(0.05, @numbers); my @even = range(1000,2000,2); # even numbers between 1000 and 2000 my @odd = range(1001,2001,2); my $dice = random(1,6); my $color = random(); ...and so on. Requirements: · Perl
Acme::Tools Related Software