Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $s = 'earth, wind & fire';
    my @out = split /\b/, $s;
    print "$_\n" foreach (@out);
    
  2. or download this
    foreach (@out) {
            print "$_\n" if ($_ =~ /\w/);
    }