App::C...:Range(3pm)
π App::ClusterSSH::Range π
okay bestie, so this is the manual page for App::ClusterSSH::Range (that's the 3pm one, a Perl module doc, we're in our perl era β¨). It's a tiny little cutie that does exactly one job and does it so well, and I'm obsessed actually.
β¨ SYNOPSIS β¨
use App::ClusterSSH::Range;
my $range=App::ClusterSSH::Range->new();
my @list = $range->expand('range{0..5}');
like... that's it. that's the whole vibe. three lines and you're slaying π«Ά
πΈ DESCRIPTION πΈ
So here's the tea: this module does string expansion β it goes looking for ranges in your strings, does its thing with them, and then finishes everything off by handing the result to File::Glob::bsd_glob. lowkey iconic behaviour. no cap. π
π METHODS π
$range = App::ClusterSSH::Range->new();β bestie this makes you a brand new object, fresh out the box, ready to do range processing for you. new object, new me, main character energy fr fr. β¨@expanded = $range->expand(@strings);β this one expands the strings you hand it. Ranges get checked for and processed, and then the resulting string gets put throughFile::Glob::bsd_globbefore it's returned back to you. it's giving... pipeline. it's giving... glow up. π¦
Now, ranges are of this form, and I need you to look at them because they're so satisfying:
base{start..stop}
a{0..3} => a0 a1 a2 a3
b{4..6,9,12..14} => b4 b5 b6 b9 b12 b13 b14
see how a{0..3} just blooms into a0 a1 a2 a3?? and b{4..6,9,12..14} pops out as b4 b5 b6 b9 b12 b13 b14?? the way that it handles a comma-separated mix of single values and ranges in one set of braces... π ate and left no crumbs, honestly. note that the ranges go from start up to stop, and the separate bits are separated by commas. periodt. π
no notes, no gotchas, no scary warnings on this one β just a lil string expander doing its lil job π
perl v5.42.2 Β· 2026-05-05 Β· App::ClusterSSH::Range(3pm) β okay that's the whole page bestie, mwah, go expand some ranges, you got this ππ
π¦ where this page comes from
- fedora 43: clusterssh 4.19-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: clusterssh 4.19-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms