.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "autobox::Junctions 3pm" .TH autobox::Junctions 3pm "2016-07-23" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" autobox::Junctions \- Autoboxified junction\-style operators .SH "VERSION" .IX Header "VERSION" This document describes version 0.002 of autobox::Junctions \- released June 22, 2016 as part of autobox-Junctions. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 2 \& # somewhere above... \& use autobox::Junctions; \& \& # somewhere below... \& my @explodey = qw{ bing bang boom }; \& warn "boom!\en" \& if @explody\->any eq \*(Aqboom\*(Aq; \& \& my $still_explody = [ @explodey ]; \& warn "not all explody\en" \& unless $still_explody\->all eq \*(Aqboom\*(Aq; \& \& # now, bonus points... \& use autobox::Core; \& \& my $weapons = { \& mateu => \*(Aqbow & arrow\*(Aq, # fearsome hunter \& ether => \*(Aqdisarming smile\*(Aq, # Canadian \& jnap => \*(Aqshotgun\*(Aq, # upstate NY \& }; \& \& warn \*(Aqmateu is armed!\*(Aq \& if $weapons\->keys\->any eq \*(Aqmateu\*(Aq \& \& warn \*(Aq...but at least no one has a nuke\*(Aq \& if $weapons\->values\->none eq \*(Aqnuke\*(Aq; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This is a simple autoboxifying wrapper around Syntax::Keyword::Junction, that provides array and array references with the functions provided by that package as methods for arrays: any, all, one, and none. .SH "AUTOBOXED METHODS" .IX Header "AUTOBOXED METHODS" See: \*(L"any\*(R" in Syntax::Keyword::Junction, \*(L"all\*(R" in Syntax::Keyword::Junction, \&\*(L"one\*(R" in Syntax::Keyword::Junction, and \*(L"none\*(R" in Syntax::Keyword::Junction. .SH "SEE ALSO" .IX Header "SEE ALSO" Please see those modules/websites for more information related to this module. .IP "\(bu" 4 Syntax::Keyword::Junction .IP "\(bu" 4 autobox .SH "BUGS" .IX Header "BUGS" Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/autobox\-Junctions/issues .PP When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. .SH "AUTHOR" .IX Header "AUTHOR" Chris Weyl .SS "I'm a material boy in a material world" .IX Subsection "I'm a material boy in a material world" Please note \fBI do not expect to be gittip'ed or flattr'ed for this work\fR, rather \fBit is simply a very pleasant surprise\fR. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you if you feel like it ;) .PP Flattr , Gratipay , or indulge my Amazon Wishlist ... If and *only* if you so desire. .SH "CONTRIBUTOR" .IX Header "CONTRIBUTOR" Сергей Романов .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is Copyright (c) 2013 by Chris Weyl. .PP This is free software, licensed under: .PP .Vb 1 \& The GNU Lesser General Public License, Version 2.1, February 1999 .Ve