NAME

Astro::SpaceElevator - Model a Space Elevator

VERSION

Version 0.04

SYNOPSIS

use Astro::SpaceElevator;

my $elevator = Astro::SpaceElevator->new(0, 120, 100_000, time());
print "The elevator leaves the Earth's shadow at " . ($elevator->shadows->{Earth}{penumbra})[1] . "km above the base.\n";

METHODS

new

    Creates a new elevator object. Takes four arguments: the latitude, longitude and height (in km) of the elevator, and a time in seconds since the epoch, in the GMT timezone.

time

    Gets the time associated with the model. If you supply an argument, it uses that as a new time to update all of the time-dependant aspects of the model.

shadows

    Returns a two element list containing the height in kilometers of the Earth's umbral and penumbral shadows on the elevator.

AUTHOR

Daniel Brooks, <db48x at yahoo.com>

BUGS

Please report any bugs or feature requests to bug-astro-spaceelevator at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Astro-SpaceElevator. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright © 2007 by Daniel Brooks. All rights reserved.

LICENSE

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

See http://www.perl.com/perl/misc/Artistic.html

1 POD Error

The following errors were encountered while parsing the POD:

Around line 315:

Non-ASCII character seen before =encoding in '©'. Assuming UTF-8