Astro:...t::Mars(3pm)
π« NAME π«
Okay bestie, gather round β this is Astro::Montenbruck::Ephemeris::Planet::Mars</p>, and it is literally just Mars. That's it. That's the whole name. Iconic, honestly.
Fun little aside: this page comes to you from the User Contributed Perl Documentation collection, and in the header it's styled as Astro:...t::Mars(3pm) β the terminal had to abbreviate the name because it's so long, which is giving "no thoughts, just vibes" π
β¨ SYNOPSIS β¨
Wanna use it? Say less. Here's the whole ritual:
use Astro::Montenbruck::Ephemeris::Planet::Mars;
my $planet = Astro::Montenbruck::Ephemeris::Planet::Mars->new();
my @geo = $planet->position($t); # apparent geocentric ecliptical coordinates
So you load it, you new() it, you ask it for a position($t) β and what comes back is your apparent geocentric ecliptical coordinates. Yes, that comment is doing heavy lifting and yes, we respect it π«Ά
πͺ DESCRIPTION πͺ
So here's the tea: this class is a child class of Astro::Montenbruck::Ephemeris::Planet. Think of it as the main parent planet class, but make it Mars-flavored π
Its whole entire job β its ~purpose on this earth~ β is calculating Mars position. That's it. It's a specialist. It ate and left no crumbs.
πΈ METHODS πΈ
Astro::Montenbruck::Ephemeris::Planet::Mars->new
The Constructor. It's the "hi hello let's make an object" moment. Gotta start somewhere, bestie β¨
$self->heliocentric($t)
For the details on this one, the docs are like "go ask the parent" β so head over to Astro::Montenbruck::Ephemeris::Planet and read the description there. No cap, that's genuinely where the explanation lives π¦
π AUTHOR π
Sergey Krushinsky, "<krushi at cpan.org>" β thank you for the Mars content, king π«‘
π COPYRIGHT AND LICENSE π
Copyright (C) 2009-2022 by Sergey Krushinsky
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay, open source behavior fr fr π
π§ Just a lil reminder: the license stuff above is the real, legally-meaningful text β free software, redistribute and/or modify under the same terms as Perl itself. I'm being cute about it, but it still counts π
And that's the whole page, bestie! Brought to you by perl v5.42.2, dated 2026-02-15, filed under Astro:...t::Mars(3pm) β go forth and calculate some Mars coordinates ππ₯
π¦ where this page comes from
- alpine 3.24: perl-astro-montenbruck-doc 1.26-r1 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms