The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Angle2Zodiac - Base class for angle2zodiac script.

SYNOPSIS

 use App::Angle2Zodiac;

 my $app = App::Angle2Zodiac->new;
 my $exit_code = $app->run;

METHODS

new

 my $app = App::Angle2Zodiac->new;

Constructor.

run

 my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

EXAMPLE1

 use strict;
 use warnings;

 use App::Angle2Zodiac;

 # Arguments.
 @ARGV = (
         212.5247100,
 );

 # Run.
 exit App::Angle2Zodiac->new->run;

 # Output:
 # 2°♏31′28.9560′′

EXAMPLE2

 use strict;
 use warnings;

 use App::Angle2Zodiac;

 # Arguments.
 @ARGV = (
         '-a',
         212.5247100,
 );

 # Run.
 exit App::Angle2Zodiac->new->run;

 # Output:
 # 2 sc 31′28.9560′′

DEPENDENCIES

Getopt::Std, Zodiac::Angle, Unicode::UTF8.

REPOSITORY

https://github.com/michal-josef-spacek/App-Angle2Zodiac

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2020-2022 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.01