The Guts of Perl (and why you should care.)

The slides and podcast from a talk about what the perl interpreter does when you throw a program at it. How perlguts and compiled extensions work and how to peek into perl internals with Perl code.

slides (128k .pdf)

About this Talk

What the perl interpreter does when you throw a program at it. How perlguts and compiled extensions work. How to peek into perl internals with Perl code. How this knowledge is useful.

Agenda:
  • Overview of perl's parse, compile, run process.
  • Possibly some mildly off-topic bits about XS, perlapi, etc.
  • Tour of the B:: modules.
  • Comparisons between B and PPI approaches.
  • Example code, case studies, and esoteric observations.
Applications:
  • Mechanically analyzing readability and refactorability of Perl code.
  • Design patterns and optimization insights.
  • Better understanding of what is under the hood.

The podcast is available here (scroll to the bottom) and is kindly hosted by Box Populi.


All material Copyright © 2005-2009 Scratch Computing.