App::ClusterSSH::Range(3pm) | User Contributed Perl Documentation | App::ClusterSSH::Range(3pm) |
ClusterSSH::Range - Object representing expandable ranges
use App::ClusterSSH::Range; my $range=App::ClusterSSH::Range->new(); my @list = $range->expand('range{0..5}');
Perform string expansion looking for ranges before then finishing off using "File::Glob::bsd_glob".
Ranges are of the form:
base{start..stop} a{0..3} => a0 a1 a2 a3 b{4..6,9,12..14} => b4 b5 b6 b9 b12 b13 b14
2018-11-08 | perl v5.28.0 |