Help for this page

Select Code to Download


  1. or download this
    $str =~ m{<item><i>(.*?)</i></item>}
    
  2. or download this
    $str =~ m{<item><i>(.*?)</i></item>}g
    
  3. or download this
    my @x = $str =~ m{<item><i>(.*?)</i></item>}g;
    
  4. or download this
    my @x;
    while ($str =~ m{<item><i>(.*?)</i></item>}g) {
       push @x, $1;
    }