1App::ClusterSSH::Range(U3spemr)Contributed Perl DocumentAaptpi:o:nClusterSSH::Range(3pm)
2
3
4

SYNOPSIS

6           use App::ClusterSSH::Range;
7           my $range=App::ClusterSSH::Range->new();
8           my @list = $range->expand('range{0..5}');
9

DESCRIPTION

11       Perform string expansion looking for ranges before then finishing off
12       using "File::Glob::bsd_glob".
13

METHODS

15       $range = App::ClusterSSH::Range->new();
16           Create a new object to perform range processing
17
18       @expanded = $range->expand(@strings);
19           Expand the given strings.  Ranges are checked for and processed.
20           The resulting string is then put through File::Glob::bsd_glob
21           before being returned.
22
23           Ranges are of the form:
24
25            base{start..stop}
26            a{0..3} => a0 a1 a2 a3
27            b{4..6,9,12..14} => b4 b5 b6 b9 b12 b13 b14
28
29
30
31perl v5.38.0                      2023-07-19       App::ClusterSSH::Range(3pm)
Impressum