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-z0-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
- ubuntu stonking: tirex 0.8.0+ds-2build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms