Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    TEST =>
    
    # And ignoring this
    
  2. or download this
    my $fileContent;
    open(my $fileHandler, $inputFile) or die "Could not open file '$inputF
    +ile' $!";
    ...
        $fileContent = <$fileHandler>;
    }
    close($fileHandler);
    
  3. or download this
    my $fileContent = do {
        open(my $fileHandler, $inputFile) or die "Could not open file '$in
    +putFile' $!";
        local $/;
        <$fileHandler>;
    };
    
  4. or download this
    if($fileContent =~ /\b\Q$beginString\E\b(.*?)\b\Q$endString\E\b/s){