Help for this page

Select Code to Download


  1. or download this
    my %prices = $str =~ m/((?:$animal)s?)\s(?:is|are)\s(\$\d+)/g;
    
  2. or download this
    use strict;
    
    ...
    if($something =~ m/((?:bing|bong|bang))/i) {
     print "Found '$1' in '$something'\n";
    }
    
  3. or download this
    Found 'bang' in 'This is a bang of a bing thing'
    
  4. or download this
    ...
    my @list = qw / bing bong bang /;
    if($something =~ m/(?:@list)/i)
    ...
    
  5. or download this
     ___
    /\__\ "What is the world coming to?"
    \/__/ www.wolispace.com