Apress

Perl 6 Now

The Core Ideas Illustrated with Perl 5

By Scott Walters

Perl 6 Now Cover Image

Perl 6 generalizes the language, making it more extensible, eliminating longstanding pitfalls, and adding new concepts. Thanks to some clever people and impressive efforts, many of these features work in Perl 5, so you can start using them now in production-level code.

Full Description

  • ISBN13: 978-1-59059-395-0
  • 424 Pages
  • User Level: Beginner to Advanced
  • Publication Date: December 15, 2004
  • Available eBook Formats: PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Perl 6 Now: The Core Ideas Illustrated with Perl 5 is perfect for those eager to see where Perl is headed, Perl 5 programmers who want to know that their favorite tricks will still work in some form, and programmers wishing to open their minds to advanced programming topics.

Perl 6 generalizes the language, making it more extensible, eliminating longstanding pitfalls, and adding new concepts. Thanks to some clever people and impressive efforts, many of these new features work in Perl 5, so you can start using them now in production-level code.

The book 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.

Though Perl 6 changes the fundamental syntax in some areas, Perl 5 code isn't left in the lurch. Thanks to PONIE, code from both versions may coexist in a single program. You’ll need to adjust only a few habits and learn a few new things, and this early adopters guide will help you do these things.

Table of Contents

Table of Contents

  1. The Programmer’s Introduction to the Perl Computer Programming Language
  2. Perl 6 Road Map
  3. Stricture by Default
  4. Text, Numbers, and Other Constant Data
  5. Names, Containers, and Values
  6. Operators
  7. Multidimensional Arrays
  8. Data Structures
  9. Switch
  10. Block Structure
  11. Subroutines
  12. CPAN Modules
  13. Objects
  14. Exceptions
  15. Type Safety
  16. Multithreading
  17. Any and All
  18. Lexical Closures
  19. Continuations
  20. Coroutines
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published