YAPC::NA 2011 schedule

Monday 27th June 2011

  • Perl Programming Best Practices 2011

    by Jacinta Richardson

    As with many programming languages, it’s very easy to find Perl code that can best be described as “write only”. Cute tricks, short variable names, inconsistent spacing, dubious reliance on default arguments… Even without the added challenge of a whole extra embedded language (regular expressions), some Perl programs deserve to be referred to as line-noise.

    Yet Perl is a beautiful, expressive language that can be used successfully by novices through to experts to achieve powerful results; and, with a little extra preparation can be easy to read, fun to work with, and a joy to maintain.

    Perl has come a very long way even in the last 6 years since Dr Conway's Perl Best Practices book was published. This talk will provide a lightning tour of the current status of Perl's best practices using many of the ideas from Modern Perl.

    At 1:55pm to 2:45pm, Monday 27th June

  • Introduction to Perl: Getting Data In and Out

    by Jacinta Richardson

    An introduction that will include topics like:

    • open, close, sysopen, sysclose, opendir, readdir, closedir
    • File::Path
    • GetOpt::Long and command line interfaces

    At 3:25pm to 3:45pm, Monday 27th June

Tuesday 28th June 2011

  • Modern Getopt for Command Line Processing

    by Nick Patch

    Getopt modules, such as Getopt::Long, are used for processing command line options. There are over sixty Getopt modules on CPAN, which can be intimidating to select from. This talk will highlight some of the Getopt pearls that have been released in the past few years. Both beginners to command line processing and seasoned command line mungers who want to catch up with modern Getopt are welcome.

    At 4:40pm to 5:00pm, Tuesday 28th June

    Coverage slide deck

Thursday 30th June 2011

  • Starting off correctly (CPAN, modules and testing)

    by Jacinta Richardson

    This course covers using and creating modules for your code. This course assumes you are familiar with basic Perl syntax, subroutines and conditionals.

    You will learn:

    • about CPAN and how to install CPAN modules both in system directories and locally;
    • how to write and use Perl modules and packages;
    • how to use Module::Starter to start your modules off on the right foot;
    • how to test your modules with Test::More;
    • about coverage testing and how to improve your tests' coverage;
    • about using Perl::Critic to evaluate and improve your module code.

    This is a hands on course where you will be writing a module from scratch, using Module::Starter and writing tests. Attendees are requested to bring a laptop with Perl installed for the full day.

    At 10:00am to 5:00pm, Thursday 30th June