Query: syntax::feature::junction
OS: osx
Section: 3
Links: osx man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Syntax::Feature::Junction(3) User Contributed Perl Documentation Syntax::Feature::Junction(3)NAMESyntax::Feature::Junction - Provide keywords for any, all, none, or oneVERSIONversion 0.003001SYNOPSISuse syntax 'junction'; if (any(@grant) eq 'su') { ... } if (all($foo, $bar) >= 10) { ... } if (qr/^d+$/ == all(@answers)) { ... } if (all(@input) <= @limits) { ... } if (none(@pass) eq 'password') { ... } if (one(@answer) == 42) { ... } or if you want to rename an export, use Sub::Exporter options: use syntax 'junction' => { any => { -as => 'robot_any' } }; if (robot_any(@grant) eq 'su') { ... } The full documentation for this module is in Syntax::Keyword::Junction. This is just a way to use the sugar that syntax gives us.AUTHORSo Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> o Carl FranksCOPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Arthur Axel "fREW" Schmidt. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.16.2 2012-09-02 Syntax::Feature::Junction(3)
Similar Topics in the Unix Linux Community |
---|
AIX Links |
At A Glance Coloured Real Time Bargraph Generator... |
My first PERL incarnation... Audio Oscillograph |
Python: Refer a properties file from different location |