O'Reilly logo

Perl Medic: Transforming Legacy Code by Peter Scott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Upgrading (Plastic Surgery)

“When we inherit property, it does not occur to us to throw it away, even when we do not want it.”

— Mark Twain, A Connecticut Yankee in King Arthur’s Court

Image

Perl has remained extraordinarily backward compatible. The vast majority of programs written for Perl 4.018 will work identically on Perl 5.8.3. Thanks to the zealous efforts of a group affectionately—or otherwise—called the “backward compatibility police,” only a handful of changes were made during that decade that could change the behavior of existing code.1

1. This will not be the case with Perl 6, however. The developers concluded that backward compatibility ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required