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.
- mirod
- Dagfinn Ilmari Mannsåker (ilmari)
- David Dorward
- andrea rota
- Damon Davison (allolex)
- Florian Ragwitz (rafl)
- Dirk De Nijs (ddn123456)
- Mark Rainford
- Arun Prasaad (arunbear)
- Stan Sawa
- Simon Elliott
- Peter Flanigan
- Gordon Irving
- fifi
- Ian Wells (ijw)
- Gabi Hack (gabimuc)
- Gillian Forster
- victoria conlan
- Chrsiter Lofving
- Zac Stevens
- Marko Zagožen (mzagozen)
- Andrej Fischer
- Paul Evans (LeoNerd)
- Phil Quinn
- Patricia Roberts (Pat)
- Anatolie Mazur (Mask)
