programming-examples/perl/SystemFunction/Get abbreviations.pl
2019-11-15 12:59:38 +01:00

11 lines
192 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
use Text::Abbrev;
my $abbreviations = abbrev(@ARGV);
foreach (sort keys %{$abbreviations}) {
print "$_ => $abbreviations->{$_} \n";
}