Perl 6 Now: The Core Ideas Illustrated by Perl 5 teaches the basics from a Perl 6 perspective, touching on variable interpolation, datastructure use, object construction, threads, closures, symbol tables, and other core features. It then introduces continuations, coroutines, binding (or aliases), hyper operators that work on lists of data at once, set operators that work on complex datatypes, lightweight multidimensional arrays, strong type checking, autoboxing, precompilation, automatic module dependency installation, and more.
Requires Free Membership to View
Chapter 7 -- Multidimensional Rays -- of Perl 6 Now: The Core Ideas Illustrated by Perl describes arrays that can contain scalars, just like Perl 5, but they're also able to directly hold a list of numbers. An array of numbers saves memory as opposed to Perl 5's arrays of scalars containing numbers.
Read the rest of the excerpt in this PDF.
Chapter X, "chapter title," is excerpted from Perl 6 Now: The Core Ideas Illustrated by Perl 5 by Scott Walters, published in December 2004, by Apress (ISBN: 1-59059-395-2). Copyright © 2004, Apress. All rights reserved. Reprinted with permission by Apress.
This was first published in September 2006

Join the conversationComment
Share
Comments
Results
Contribute to the conversation