Skip to Main Content
Perl Pocket Reference, 5th Edition
book

Perl Pocket Reference, 5th Edition

by Johan Vromans
July 2011
Intermediate to advanced content levelIntermediate to advanced
104 pages
2h 14m
English
O'Reilly Media, Inc.
Content preview from Perl Pocket Reference, 5th Edition

Features

As of version 5.10, Perl supports features to selectively enhance the syntax and semantics of the language. Features can be enabled with use feature and disabled with no feature, see the section Pragmatic Modules.

Feature

Perl

Description

Page

say

5.10

Enables the keyword say.

50

state

5.10

Enables the keyword state.

64

switch

5.10

Enables the keywords given, when, break, and default.

15

unicode_strings

5.12

Enables Unicode semantics in all string operations.

 

:5.10

5.10

All 5.10 features.

 

:5.12

5.12

All 5.10 and 5.12 features.

 

:5.14

5.14

All 5.10, 5.12 and 5.14 features.

 

Feature bundles like :5.14 provide a quick means to get a fully featured Perl, although it is easier to automatically enable version dependent features with:

use 5.14.0;
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Perl Testing: A Developer's Notebook

Perl Testing: A Developer's Notebook

Ian Langworth, Chromatic
Perl Hacks

Perl Hacks

Chromatic, Damian Conway, Curtis Ovid Poe, Curtis (Ovid) Poe

Publisher Resources

ISBN: 9781449311186Errata Page