Help for this page

Select Code to Download


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