From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME
App::ZodiacUtils - CLI utilities related to zodiac
VERSION
This document describes version 0.115 of App::ZodiacUtils (from Perl
distribution App-ZodiacUtils), released on 2020-09-14.
DESCRIPTION
This distribution includes the following CLI utilities:
* chinese-zodiac-of
* list-chinese-zodiac-table
* zodiac-of
FUNCTIONS
chinese_zodiac_of
Usage:
chinese_zodiac_of(%args) -> any
Show Chinese zodiac for a date.
Examples:
* Example #1:
chinese_zodiac_of(dates => ["1980-02-17"]); # -> "monkey (metal)"
* Multiple dates:
chinese_zodiac_of(dates => ["2015-12-17", "2016-12-17"]);
Result:
[
["2015-12-17", "goat (wood)"],
["2016-12-17", "monkey (fire)"],
]
This function is not exported.
Arguments ('*' denotes required arguments):
* dates* => *array[date]*
Dates.
Return value: (any)
zodiac_of
Usage:
zodiac_of(%args) -> any
Show zodiac for a date.
Examples:
* Example #1:
zodiac_of(dates => ["2015-06-15"]); # -> "gemini"
* Multiple dates:
zodiac_of(dates => ["2015-12-17", "2015-12-29"]);
Result:
[["2015-12-17", "sagittarius"], ["2015-12-29", "capricornus"]]
If multiple dates are specified, the result will include the date to
differentiate which zodiac belongs to which date.
This function is not exported.
Arguments ('*' denotes required arguments):
* dates* => *array[date]*
Dates.
Return value: (any)
HOMEPAGE
Please visit the project's homepage at
SOURCE
Source repository is at
BUGS
Please report any bugs or feature requests on the bugtracker website
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.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020, 2019, 2016, 2015 by
perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.