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

Geo::Constants - Perl Standard Geo:: package for constants

SYNOPSIS

  use Geo::Constants qw{pi};         #import into namespace
  print "PI: ", pi, "\n";

  use Geo::Constants;                #Perl OO
  my $obj = Geo::Constants->new();
  print "PI: ", $obj->pi, "\n";

DESCRIPTION

This module is a pure Perl port of the NGS program in the public domain "forward" by Robert (Sid) Safford and Stephen J. Frakes.

CONSTRUCTOR

new

The new() constructor

  my $obj = Geo::Constants->new();
    

METHODS

pi

  my $pi = $obj->pi;

TODO

Add more constants

BUGS

LIMITS

AUTHOR

Michael R. Davis qw/perl michaelrdavis com/

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Geo::Functions Geo::Ellipsoids