Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    EOF
        close $fh;
    }
    
  2. or download this
    use strict;
    
    ...
    EOF
        close $fh;
    }
    
  3. or download this
    D:\Development\Perl\HereDocTest>hdt2.pl<br>
    Scalar found where operator expected at D:\Development\Perl\HereDocTes
    +t\hdt2.pl line 10, near "<title>$title"<br>
    ...
            (Missing semicolon on previous line?)<br>
    syntax error at D:\Development\Perl\HereDocTest\hdt2.pl line 9, near "
    +head>"<br>
    Search pattern not terminated at D:\Development\Perl\HereDocTest\hdt2.
    +pl line 15<br>
    
  4. or download this
    use strict;
    
    ...
    EOF
        close $fh;
    }
    
  5. or download this
        print ($args->{fh}) <<EOF;
        print +$args->{fh} <<EOF;
        print +($args->{fh}) <<EOF;