Chapter 7 of 'Perl 6 Now: The Core Ideas Illustrated by Perl 5'

Chapter 7, Multidimensional Rays, describes arrays that can contain scalars, just like Perl 5, but they're also able to directly hold a list of numbers.

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.

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 last published in September 2006

Dig Deeper on Enterprise applications for Linux

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close