Help for this page

Select Code to Download


  1. or download this
    package VIR;
    our $vir = qr/My\s+[Rr]egex/;
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    $_="My regexen";
    print "found\n" if m/$VIR::vir/;