Help for this page

Select Code to Download


  1. or download this
    cp /dev/null file.txt
    perl ./y1.pl
    echo "hello world" > file.txt
    perl ./y1.pl
    
  2. or download this
    use strict;
    use warnings;
    ...
    close($fh) or die "close() failed: $!";
    printf( "Got a line: %s", $line // '<line-was-undef>' );