Help for this page

Select Code to Download


  1. or download this
    my $str = "
    </div>
    ...
    ";
    
    print "Success\n" if $str =~ /\<\/div\>\n\<\/body\>/;
    
  2. or download this
    local $/;
    my $str = <>;
    print "Success\n" if $str =~ /\<\/div\>\n\<\/body\>/;