NAME
SHARYANTO::Array::Util - Array-related utilities
VERSION
version 0.29
SYNOPSIS
DESCRIPTION
FUNCTIONS
None are exported by default, but they are exportable.
DESCRIPTION
This module has Rinci metadata.
FUNCTIONS
None are exported by default, but they are exportable.
match_array_or_regex(@args) -> any
Check whether an item matches (list of) values/regexes.
This routine can be used to match an item against a regex or a list of strings/regexes, e.g. when matching against an ACL.
Arguments ('*' denotes required arguments):
haystack* => any|array
needle* => str
Return value:
match_regex_or_array(@args) -> any
Alias for match_array_or_regex.
This routine can be used to match an item against a regex or a list of strings/regexes, e.g. when matching against an ACL.
Arguments ('*' denotes required arguments):
haystack* => any|array
needle* => str
Return value:
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.