Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
            $size++ while m{\b\w+\b}g;
    }
    print "wordcount: $size words\n";