Skip to content

Instantly share code, notes, and snippets.

@iley
Created December 17, 2011 13:30
Show Gist options
  • Save iley/1490213 to your computer and use it in GitHub Desktop.
Save iley/1490213 to your computer and use it in GitHub Desktop.
Perl tips
Perlbrew — install multiple perl environments in $HOME
Bundle::Zoidberg — modular perl shell
Devel::REPL + Term::ReadLine::Perl + Term::ReadKey = handy REPL
Devel::Trace — print out each line before it is executed
use autodie
Module::UseFrom — use module from string
List::MoreUtils (List::AllUtils = List::Util + List::MoreUtils)
Params::Util - check parameter types properly (http://perladvent.org/2011/2011-12-23.html)
Try::Tiny — sugar for eval
utf8::all - turn on Unicode - all of it
IO::All + IO::All::LWP — simplified generic I/O
File::Map - memory mapping made simple and safe
File::Slurp Simple and Efficient Reading/Writing/Modifying of Complete Files
MooseX::Declare — syntactic sugar for Moose
Text::Xslate — fast and flexible template engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment