Tirex::Zoomrange(3pm)

✨ Tirex::Zoomrange ✨

okay bestie so this is the Tirex::Zoomrange page from the User Contributed Perl Documentation, aka the manual for the little object that holds a range of zoom levels. it's short, it's sweet, it's giving functional. let's get into it πŸ’–


πŸ¦‹ NAME πŸ¦‹

Tirex::Zoomrange β€” it's a range of zoom levels. that's the whole vibe. periodt.


🌸 SYNOPSIS 🌸

my $zr = Tirex::Job->new($name, $min[, $max])

yes bestie, that's literally it. one line. we love a low-effort entry point 🫢


πŸŽ€ DESCRIPTION πŸŽ€

So like, it's a zoom level range. that's it. but here's the tea: it's optionally named. you can give it a name or you can let it be anonymous and mysterious (main character energy either way πŸ’…).


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ Tirex::Zoomrange->new('foo', 4, 5)

Create a brand new range, slay. here's who's who:

  • first argument β€” the name
  • second argument β€” the min zoom level
  • third argument β€” the max zoom level

and here's the lil shortcut: if you don't pass a max level, it just copies the min. it's the same. no cap. πŸͺž

and if the name is undef? not a problem bestie, it gets set to 'zMIN-MAX' all by itself β€” or just 'zMIN' if MIN==MAX, because why write the same number twice when you could simply not πŸŽ€

πŸ’œ $zr->get_name()

Get the name. that's the whole method. go off πŸ‘‘

πŸ’œ $zr->get_min()

Get the minimum zoom level in this range. the floor. the basement. the lower bound bestie πŸ’…

πŸ’œ $zr->get_max()

Get the maximum zoom level in this range. the ceiling. the roof. the upper bound. the way that it's just the min again if you didn't pass one 😭

πŸ’œ $zr->to_s()

Get the range as a string, iconic. the format is "MIN-MAX" β€” or just "MIN" if MIN==MAX. yes she's efficient, yes she's aesthetic ✨

πŸ’œ $zr->get_id()

Get the id, bestie. now listen β€” the id is a simplified version of the name that only contains these characters:

  • a-z
  • 0-9
  • _

that's it. that's the guest list and no one else is getting in πŸ™ˆ


lowkey a whole object just for zoom bounds but honestly? she does her job and she does it well. obsessed. πŸ’–

and that's the whole page bestie!! this lil beauty is Tirex::Zoomrange(3pm) from the User Contributed Perl Documentation, generated with perl v5.40.1 on 2026-08-09. go forth and range your zooms, you've absolutely got this πŸ¦‹βœ¨πŸ’œ

πŸ“¦ where this page comes from