chromatic/modern_perl_book — Issue #205: feature pragma
Author: beanz
Created: 2011-11-17 22:08:30+00:00
State: open

In the description about 'state' on page 94, you write:

You must enable this feature explicitly by using a module such as C, the C pragma, or
requiring a specific version of Perl of 5.10 or newer (with C or C, for example).

You elaborate on the requiring of specific versions giving the exact syntax but I don't think the feature pragma is described elsewhere (or I've forgotten where) so it might be worth showing the syntax for that too?

Regards,
Mark.