Help for this page

Select Code to Download


  1. or download this
    if( my($a, $c) = $string =~ /(a).*(c)/ ) {
        print "a=$a c=$c\n";
    }
    
  2. or download this
    @result{"a","b"} = $string =~ /(a).*(c)/;