Perl 6 Now - Scott Walters

Perl 6 Now

The Core Ideas Illustrated with Perl 5

(Autor)

Buch | Softcover
424 Seiten
2004 | 1st ed.
Apress (Verlag)
978-1-59059-395-0 (ISBN)
36,37 inkl. MwSt
This guide to Perl 6 language features is also an advanced teaching guide for Perl 5. Examples are provided for both Perl 5 when using modules to back port Perl 6 features, and Perl 6 native examples. This book's pragmatic approach shows readers how to bootstrap new features onto the code that is written day-to-day.
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.

Scott Walters has been programming computers since 1984 (professionally since 1996). He built the corporate intranet at Mayo Clinic in Scottsdale, Arizona, and did pretty much everything for two startups. For fun, he runs http://perldesignpatterns.com, does CGI scripting for the NetBSD Project and http://projects.netbsd.org, maintains several CPAN modules, and helps coordinate Perl Mongers meetings for Phoenix Perl Mongers.

Introduction.- Author's Bio.- Section I: Basics, Data Flow, Program Flow: Perl 6 Language Road Map; Stricture by Default; Text, Numbers, and Other Constant Data; Names, Containers, and Values; Traits and Attributes; Arrays and Multidimensional Arrays; Data Structures; Switch Statement; Block Structure; Perl Subroutines.- Section II: Java, Python, Ruby Influence: Modules on Demand; Kinds of Objects; Perl Objects; Perl Exceptions; Type Safety; Threading, or Multi-Threading.- Section III: Lisp, Scheme, ML Influence: Hyper Operators; Any and All; Lexical Closures; Lexical Subroutines; Continuations; Coroutines.

Zusatzinfo XXXIV, 424 p.
Verlagsort Berkley
Sprache englisch
Maße 178 x 235 mm
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Informatik Programmiersprachen / -werkzeuge Perl
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Perl 6
ISBN-10 1-59059-395-2 / 1590593952
ISBN-13 978-1-59059-395-0 / 9781590593950
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Keeping the Easy, Hard, and Impossible Within Reach

von Brian D. Foy

Buch | Softcover (2018)
O'Reilly Media (Verlag)
53,85