ToolSet::y

My one-liner ToolSet
Download

ToolSet::y Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joerg Meltzer
  • Publisher web site:
  • http://search.cpan.org/~jmeltzer/

ToolSet::y Tags


ToolSet::y Description

My one-liner ToolSet ToolSet::y is richly packed ToolSet module. It excessivly uses autouse and Class::Autouse and loads commonly used perlmodules and OO Modules on demand. Because of its excessive magic it is not recommended, that you use it anywhere else except for quickndirty one-liners.That beeing said, welcome new age of productivity.SYNOPSIS # get super productive and install this module as package "y" via ./Build install_short # using Class::AutoUse ':superloader' perl -MToolSet::y -e '$i=Net::IP->new("193.0.1/24"); say $i->ip' # Package::Alias aliased Statistics::Descriptive::Full -> SDF perl -MToolSet::y -e '$s=SDF->new;$s->add_data(0 .. 10); print $s->variance' # perl 5.10 features + Scalar::Util perl -MToolSet::y -e 'given ($ARGV) { when (looks_like_number($_)) {say "looks like a number"}}' 2E42 # Package::Alias aliased File::ReadBackwards -> FRB perl -MToolSet::y -e '$r=FRB->new($INC{"y.pm"}); print while(defined ($_=$r->readline))' # List::Pairwise unfortunately no autouse possible perl -MToolSet::y -e '%lc_keys = mapp {"\L$a"=>$b} (A => 1, B => 2, C => 3); say "@$_" for pair %lc_keys' # File::Find::Rule + Env shortcut perl -MToolSet::y -e'say for FFR->name("*.pm")->in("$HOME/lib")' Requirements: · Perl


ToolSet::y Related Software