So you've heard of Moose, autodie, DBIx::Class, Try::Tiny, Method::Signatures, autobox, NYTProf, Perl::Critic, test driven development and the funky regular expressions changes Perl 5.10 brought in. Or at least you've heard of some of them. Have you had the opportunity to smash these all together and see what amazing results can fall out?
This tutorial will treat most of these modules as black boxes which do amazing magic; and instead of showing you the intimate details of how to create your classes with Moose, create hints for autodie, interface with a database with DBIx::Class, or catch exceptions with Try::Tiny etc; this tutorial will show you how to use code where all of that work is already done, allowing you the freedom to play with the fun bit of what comes next.
If you've ever wished you could just write code that looks more like:
say join(" ", reverse(split(" ", $string)));
Or hated writing or die $! after every open, or lost count of opening parentheses in a regular expression and not been sure if you wanted $5 or $6. If you've ever littered your code with print statements to try to guess where it was taking so long or grumbled about a lack of try-catch semantics that don't involve eval and $@. If you've been frustrated by these things, but just accepted that this is the way Perl is, then no more, because this is the tutorial for you.
Copyright 2001-2012 Perl Training Australia. Contact us at email@example.com