Wednesday 26 August 2009 @ 6:52 am
I did my talk about WTF in Perl at YAPC::EU 2009 at Monday, August 3rd. It was a bit stresfull experience for me. Especially that my laptop did not want to show presentation on the projector. I turned out that I do not know my own laptop. Right, I use it rarely. Hopefully presentation was not bad, I received some positive feedback. People were clapping too. Nice
One person asked me for slides. So here they are:
Feedback about my talk is appreciated, use comment field below
See also:
- My presentation at YAPC::EU::2009 was graded
- YAPC::EU 2009 in Lisboa (Lisbon, Lizbona)!
- Nice people I met at YAPC::EU
- Perl WTFs – last in function
- YAPC EU 2010 is coming


Another WTF related to regex delimiters: m?foo? has special behavior (http://perldoc.perl.org/perlop.html#?PATTERN?).
Also, &my_subroutine() bypasses prototype checking, so
sub foo ($) {
print “@_\n”;
}
foo(1, 2); #error, one one parameter allowed
&foo(1, 2); #not an error
Of course, that brings up prototypes which are full of WTF. Examine
my @a = qw/ a b c /;
foo(@a); #not an error, 3 is passed to foo