- or download this
$string =~ / \w/; # a space followed by a word character
$string =~ /\s\w/; # any whitespace character followed by a word chara
+cter
$string =~ /\s\S/; # any whitespace character followed by a non-whites
+pace character
- or download this
#!/usr/bin/env perl
use 5.010; use strict; use warnings;
...
say; # do stuff with the line or elements
}
}
- or download this
Rate split and check check and split
split and check 145/s -- -1%
check and split 146/s 1% --
- or download this
Rate check and split split and check
check and split 112/s -- -17%
split and check 136/s 21% --
- or download this
#!/usr/bin/env perl
use 5.010; use strict; use warnings;
...
}
}
}