Architectural Considerations

The second set of principles governs the overall architecture of Perl 6. These principles are connected to the past, present, and future of Perl, and define the fundamental purpose of Perl 6. No principle stands alone; each is balanced against the others.

Perl Should Stay Perl

Everyone agrees that Perl 6 should still be Perl, but the question is, what exactly does that mean? It doesn’t mean Perl 6 will have exactly the same syntax. It doesn’t mean Perl 6 will have exactly the same features. If it did, Perl 6 would just be Perl 5. So, the core of the question is what makes Perl “Perl?”

True to the original purpose

Perl will stay true to its designer’s original intended purpose. Larry wanted a language that would get the job done without getting in his way. The language had to be powerful enough to accomplish complex tasks, but still lightweight and flexible. As Larry is fond of saying, “Perl makes the easy things easy and the hard things possible.” The fundamental design philosophy of Perl hasn’t changed. In Perl 6, the easy things are a little easier and the hard things are more possible.

Familiarity

Perl 6 will be familiar to Perl 5 users. The fundamental syntax is still the same. It’s just a little cleaner and a little more consistent. The basic feature set is still the same. It adds some powerful features that will probably change the way we code in Perl, but they aren’t required.

Learning Perl 6 will be like American English speakers learning Australian ...

Get Perl 6 and Parrot Essentials, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.