denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
Denise ([staff profile] denise) wrote2012-07-17 09:26 am

(no subject)

"We made it so you could switch [the $[ variable] back on, but you had to DECLARE your SINS."

...I love listening to Damien Conway's talks so much, hee.

Other good ones: talking about upgrading Perl and then trying to run scripts that weren't running under 'strict', since 5.12 and onward assumes 'use strict' by default (EDIT: when you declare the version with 'use', I forgot to specify that): "If you upgrade to [Perl 5.12], your program may do unexpected things. That's just a delayed form of justice."

"Why didn't Perl have a println? Pascal has a println!"

"Every time I write a say, I get this little ... BURST of happiness!"

"A lot of people want to tear [smartmatching] down and put up this little tiny effigy in place of it."

"Let's be honest here, Perl only DWIMs if you're Larry Wall."

"You can just use braces instead, but that's two extra characters of typing. With a shift key. Unacceptable."

"How is this different than 'use constant'? 'use constant' is an abomination before God, and this isn't."

"Unlike C++, Perl6 is not sent from hell itself."
cdybedahl: (Default)

[personal profile] cdybedahl 2012-07-17 04:48 pm (UTC)(link)
What? No, 5.12 and up do not assume strict by default:


kadath:~% perl -E '$foo = "Hello, sailor!"; say $foo;'    
Hello, sailor!
kadath:~% perl -v                                         

This is perl 5, version 16, subversion 0 (v5.16.0) built for darwin-thread-multi-2level

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

kadath:~% 


They do turn on strict if you explicitly ask for version 5.12 or higher with "use 5.12.0;", though. May that have been what he meant?
janinedog: (Default)

[personal profile] janinedog 2012-07-17 04:51 pm (UTC)(link)
I love the Perl talks at OSCON. Lots of fun people. :)
peoppenheimer: Photo of interesting tree stump in forest. (Default)

[personal profile] peoppenheimer 2012-07-17 08:06 pm (UTC)(link)
Glad you are having fun!

In the spirit of oscon, I've been reading about mathjax this morning. Going to try to get it to work for me on dw, I think.