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

Dig deeper on Enterprise applications for Linux

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close