Astro:...t::Mars(3pm)

πŸ“¦ version 1.26, in alpine 3.24

πŸ’« 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 (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