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