About
FAQ
Location
Sponsors
News

Wiki

Presentations
Favorite Talks Schedule iCal export Submit a talk proposal



Users
Search Statistics
Register
Log in
top

By Matt S Trout (‎mst‎) from northwestengland.pm, dahut.pm, drinkers.pm, lgbt.pm
Date: Saturday, 5 December 2009 14:55
Duration: 40 minutes
Language:
Tags: begin compiler shell syntax systems


Did you know that the original vi, when run as such, was actually effectively just ex plus -

BEGIN { run(":vi"); exit 0; }

? Well, it's amazing what you can do in perl before your program even starts. Like make it a different program, or perhaps even a different language.

Drawing on lots of tricks you've probably heard of, and quite a few you may be glad you hadn't, I'm going to show just how many things can be changed in the environment in which a program is compiled ... and why, in spite of the number of SAN checks you have to roll in the process, you just might want to do it anyway.

Attended by: