NAME
SHARYANTO::Array::Util - Array-related utilities
VERSION
version 0.58
SYNOPSIS
DESCRIPTION
FUNCTIONS
None are exported by default, but they are exportable.
None are exported by default, but they are exportable.
match_array_or_regex(@args) -> any
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
needle* => str
Return value:
match_regex_or_array(@args) -> any
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
needle* => str
Return value:
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.