Astro:...stants(3pm)

πŸ“¦ version 1.26, in alpine 3.24

✨ Astro::Montenbruck::RiseSet::Constants ✨

okay so this is the Astro:...stants(3pm) page, which is short for Astro::Montenbruck::RiseSet::Constants β€” the rise/set constants module, bestie. it's literally just a big ol' box of named values that the rest of the rise/set modules pass around. no cap. πŸŽ€


🌸 NAME 🌸

Astro::Montenbruck::RiseSet::Constants β€” rise/set constants πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

like, pull in everything at once:

use Astro::Montenbruck::RiseSet::Constants qw/:all/;

⭐ VERSION ⭐

Version 0.01 β€” baby's first version, we love to see it 🍼


πŸ’œ DESCRIPTION πŸ’œ

Constants used across rise/set modules. that's the whole vibe check: these are the shared values that show up all over the rise/set code so nobody has to retype magic numbers. iykyk πŸ”₯


πŸ‘‘ EXPORT πŸ‘‘

πŸŽ€ CONSTANTS πŸŽ€

πŸŒ… EVENTS

  • $EVT_RISE β€” rise (object's coming up over the horizon, main character entrance energy) ✨
  • $EVT_SET β€” set (and it's going back down, we don't talk about it) 😭
  • $EVT_TRANSIT β€” transit (upper culmination, aka the object's big moment at the top)
  • @RS_EVENTS β€” array containing all the constants above, i.e. the whole events squad together 🫢

🌈 STATES

  • $STATE_CIRCUMPOLAR β€” always above the horizon (never leaves, obsessed with you fr fr)
  • $STATE_NEVER_RISES β€” always below the horizon (never shows up, lowkey ghosting) πŸ’€

🧚 TYPES OF TWILIGHT

  • $TWILIGHT_CIVIL β€” civil
  • $TWILIGHT_ASTRO β€” astronomical
  • $TWILIGHT_NAUTICAL β€” nautical

(three flavours of twilight, all iconic in their own way 🌸)

⛰️ STANDARD ALTITUDES

  • $H0_SUN β€” Sun β˜€οΈ
  • $H0_MOO β€” Moon πŸŒ™ (yes, MOO, that's literally the name, don't @ me)
  • $H0_PLA β€” Planets and stars ⭐
  • %H0_TWL β€” For twilight types. Keys are "TYPES OF TWILIGHT" β€” so like, you look up a twilight type and get the matching altitude. precious πŸ’–

🏷️ TAGS 🏷️

  • :events β€” $EVT_RISE, $EVT_SET, $EVT_TRANSIT, @RS_EVENTS
  • :states β€” $STATE_CIRCUMPOLAR, $STATE_NEVER_RISES
  • :twilight β€” $TWILIGHT_CIVIL, $TWILIGHT_ASTRO, $TWILIGHT_NAUTICAL
  • :altitudes β€” $H0_SUN, $H0_MOO, $H0_PLA, %H0_TWL
  • :all β€” all of the above (yes, the whole entire menu, go off) πŸ‘‘

πŸ’… AUTHOR πŸ’…

Sergey Krushinsky, "<krushi at cpan.org>" β€” say thank you to the icon who wrote this 🫢


Copyright (C) 2010-2022 by Sergey Krushinsky

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


ngl the license part matters: free software, same terms as Perl itself, redistribute and/or modify away β€” just keep the copyright line, bestie. periodt. πŸ’œ

and that's the whole page, no notes πŸ’– this was perl v5.42.2, dated 2026-02-15, and we are soooo done here β€” slay, bye! πŸ¦‹βœ¨

πŸ“¦ where this page comes from