Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
        $occ{$char} //= 0;
        print  "$char \t\t $occ{$char} \t\t ", $occ{$char} / $length, "\n"
    +;
    }