Steven Haryanto > Syntax-Feature-EachOnArray > Syntax::Feature::ValuesOnArray

Download:
Syntax-Feature-EachOnArray-0.04.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Syntax::Feature::ValuesOnArray - Emulate values(@array) on Perl < 5.12

VERSION ^

version 0.04

SYNOPSIS ^

 # This can run on Perls older than 5.12 and have no effect on 5.12+
 use syntax 'values_on_array';

 my @a = (qw/a b c/);
 my @values = values @a;

DESCRIPTION ^

Beginning with 5.12, Perl supports values() on array. This syntax extension emulates the support on older Perls.

CAVEATS ^

No uninstall() yet.

SEE ALSO ^

syntax

Syntax::Feature::EachOnArray

Syntax::Feature::KeysOnArray

AUTHOR ^

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: