perl5i: Perl 5 Improved

Michael Schwern (eval Empire)
Perl
Location: D137
Tags: perl
Average rating: ****.
(4.30, 10 ratings)

perl5i is a single module bringing together the best magic Perl programmers have to offer catapulting the basic language forward. Suddenly everything is an object! Functions return objects and throw exceptions! You don’t have to load six modules to work with files! Perl 5 is fun again!

Perl 5 was designed in 1995, and because of its devotion to backwards compatibility, its largely stuck there. But Perl programmers have long since moved on advancing the state of the art in the form of CPAN modules. When you write a Perl 5 program you either have to use the outdated core language, or you have to find, install and use two dozen CPAN modules. This turns off newbies, they don’t know which CPAN modules to use, and annoys experienced programmers who are tired of having to DIY over and over again.

perl5i is a single Perl module to bring the best of CPAN together under one roof, working together under a sensible language design. Unlike Perl 6, perl5i is an evolutionary development, remaining compatible with Perl 5. Yet it can selectively and safely break compatibility… even with itself! Its released, well tested and intended for production use.

perl5i makes Perl fun again. It fixes the default behaviors. It makes references pleasant to work with. It embraces techniques like exceptions, autoboxing and objects in a way Perl 5 really never did. It solves the problem of backwards compatibility slowly strangling a language.

If you used to program Perl, come take another look:http://search.cpan.org/perldoc?perl5ifaq .

People planning to attend this session also want to see:

Photo of Michael Schwern

Michael Schwern

eval Empire

As a speaker at OSCON I believe we should all strive to create a fun, educational, enjoyable and harassment-free conference experience for everyone.

I’m pleased to say Tim O’Reilly thinks so too!

If you are being harassed, or witness harassment please report it to venue security, the police, the conference organisers or a trusted friend. You do not have to put up with it.

For more detail on what a code of conduct which includes an anti-harassment policy should contain, please review the geekfeminism wiki conference anti-harassment policy template

Schwern has a copy of Perl 6, he lets Larry Wall borrow it and take notes.

Schwern once sneezed into a microphone and the text-to-speech conversion was a regex that turns crap into gold.

Damian Conway and Schwern once had an arm wrestling contest. The superposition still hasn’t collapsed.

Schwern was the keynote speaker at the first YAPC::Mars.

When Schwern runs a smoke test, the fire department is notified.

Dan Brown analyzed a JAPH Schwern wrote and discovered it contained the Bible.

Schwern writes Perl code that writes Makefiles that write shell scripts on VMS.

Schwern does not push to master, master pushes to Schwern.

SETI broadcast some of Schwern’s Perl code into space. 8 years later they got a reply thanking them for the improved hyper drive plans.

Schwern once accidentally typed “git pull —hard” and dragged Github’s server room 10 miles.

There are no free namespaces on CPAN, there are just modules Schwern has not written yet.

Schwern’s tears are said to cure cancer, unfortunately his Perl code gives it right back.

Comments on this page are now closed.

Comments

Denise Paolucci
07/22/2010 4:26pm PDT

The talk was fabulous and interesting, but I found the red text on the slides hard to read from the back of the room—you might want to choose a brighter shade of red!

  • Intel
  • Microsoft
  • Google
  • Facebook
  • Rackspace Hosting
  • (mt) Media Temple, Inc.
  • ActiveState
  • CommonPlaces
  • DB Relay
  • FireHost
  • GoDaddy
  • HP
  • HTSQL by Prometheus Research
  • Impetus Technologies Inc.
  • Infobright, Inc
  • JasperSoft
  • Kaltura
  • Marvell
  • Mashery
  • NorthScale, Inc.
  • Open Invention Network
  • OpSource
  • Oracle
  • Parallels
  • PayPal
  • Percona
  • Qualcomm Innovation Center, Inc.
  • Rhomobile
  • Schooner Information Technology
  • Silicon Mechanics
  • SourceGear
  • Symbian
  • VoltDB
  • WSO2
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)

OSCON 2.0 Ideas

Have an idea for OSCON to share? oscon-idea@oreilly.com

Contact Us

View a complete list of OSCON contacts