- or download this
sort {length $columnA <=> length $columnB}
- or download this
sort {length $a <=> length $b}
- or download this
Global symbol "$columnA" requires explicit package name (did you forge
+t to declare "my $columnA"?)
- or download this
print "matches first" if "a (word) in context " =~ m/\b\(word\)\b/;
print "matches second" if "a (word) in context " =~ m/\(word\)/;
- or download this
print "matches third" if "a (word) in context " =~ m/(?<=\s)\(word\)(?
+=\s)/;
- or download this
print "matches fourth" if "a a in context (word) " =~ m/(?<!\w)\(word\
+)(?=\s|$)/;
- or download this
#!/usr/bin/env perl
use strict;
...
word word parola parola
(word) (parola)