Help for this page

Select Code to Download


  1. or download this
    ## single quotes around heredoc
    my $string = <<'STRING';
    ...
    
    my @lines = $string =~ m/^(.*?)$/msg;
    print scalar @lines, " lines\n";