1App::ClusterSSH::Range(U3s)er Contributed Perl DocumentatAipopn::ClusterSSH::Range(3)
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.28.0                      2018-07-12         App::ClusterSSH::Range(3)
Impressum