Calamitous Context: Stop Breaking My Code!

By Aaron Crane (‎arc‎) from,
Date: Saturday, 24 November 2012 11:20
Duration: 20 minutes
Target audience: Intermediate
Language: English
Tags: best_practices context style wantarray

You can find more information on the speaker's site:

Context is a pain, especially with function return values. Even seemingly helpful and innocuous context-sensitive functions can lead to hard-to-spot bugs elsewhere. This talk is a plea for sanity.

After showing examples of different ways in which context can cause subtle problems, and explaining why the recommendations in Perl::Critic and Damian Conway’s Perl Best Practices don’t entirely help, it contains guidelines for writing Perl that isn’t subject to these hidden flaws, so that you can avoid causing wrath in others.

Attended by: Elena Bolshakova (‎helena‎), pozorvlak, Tomasz Czepiel (‎tjmc‎), Pete Houston, Tony Bedford, kevin dawson (‎bowtie‎), Mike Eve, Anthony Shaper, Mallory van Achterberg (‎Stomme poes‎), Pierre Masci (‎mascip‎), osfameron, Anthony Lucas (‎hor|zon‎), James Aitken (‎LoonyPandora‎), Pedro Figueiredo (‎pfig‎), Tom Hukins, James Laver (‎jjl‎), Christopher Hanna (‎Chad‎), Alexandru Strajeriu (‎Deluxaran‎), David Cantrell (‎DrHyde‎), Chris Jack, Tudor Constantin, Colin Campbell, Johnathan Swan, Adam Taylor (‎adam-_-‎), M Walker, Peter Haworth (‎pmh1wheel‎), Andrew Solomon (‎illy‎), Steve Holden,




Bytemark Hosting

Eligo Recruitment

Evozon Software


magnum Solutions




Opus VL


      Systems Limited


Enlightened Perl Organisation

Bar design at the bottom of the page