Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
  2. or download this
    use strict;
    use warnings;
    
  3. or download this
    use Data::Dumper qw( Dumper );
    
    ...
    +s I did";
    
    my @words = split( /\W+/, $string);
    
  4. or download this
    my @words = /\w+/g;
    
  5. or download this
    print "Word count:  ", Dumper(%count);
    
    1;