Get abbreviations : Text « System Functions « Perl






Get abbreviations

      
#!/usr/bin/perl

use warnings;
use strict;
use Text::Abbrev;

my $abbreviations = abbrev(@ARGV);

foreach (sort keys %{$abbreviations}) {
    print "$_ => $abbreviations->{$_} \n";
}

   
    
    
    
    
    
  








Related examples in the same category

1.Read password
2.use Text::Abbrev;
3.use Text::Tabs to set the tab size
4.Soundex function