Modern::Perl



Modern::Perl

0 0


modern-perl-krug-lightning-2014


On Github Xaerxess / modern-perl-krug-lightning-2014

Modern::Perl

Grzegorz Rożniecki (@xaerxess)

Slides | Source on GitHub

.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses" - Bjarne Stroustrup, C++ creator
"There are only 10 kinds of languages: the ones people complain about and the ones nobody uses" - Bjarne Stroustrup, C++ creator
- camel -> back to Perl
- Perl 0 introduced Perl to my officemates. - Perl 1 introduced Perl to the world, and changed /\(...\|...\)/ to /(...|...)/. \(Dan Faigin still hasn't forgiven me. :-\) - Perl 2 introduced Henry Spencer's regular expression package. - Perl 3 introduced the ability to handle binary data (embedded nulls). - Perl 4 introduced the first Camel book. Really. We mostly just switched version numbers so the book could refer to 4.000. - Perl 5 introduced everything else, including the ability to introduce everything else.
- TIMTOWTDI == mess?

TIMTOWTDI

There is more than one way to do it

Tim Toady

- Tim Toady - Larry Wall

TIMTOWTDI

BSCINABTE

There’s more than one way to do itbut sometimes consistency is not a bad thing either

Tim Toady

Bicarbonate

vs

- Perl community lesson: consistency

OOP in Perl

package Foo;

sub new {
  my $class = shift;
  my $self = { }; # or [ ] or any arbitrary scalar value
  return bless $self, $class;
}

1;
            
- Perl community lesson: consistency

THE END?

If you're interested in Krakow.pm, please contact me:@xaerxess or xaerxess at gmail dot com