Help for this page

Select Code to Download


  1. or download this
    #!usr/bin/perl
    use say;
    ...
    $ cat output2.txt
    Sample of text line 3
    Sample of text line 4
    
  2. or download this
    #!usr/bin/perl
    use say;
    ...
    
    close($fh2)
        or warn "Can't close output2.txt: $!";
    
  3. or download this
    #!usr/bin/perl
    use say;
    ...
    
    close($fh2)
        or warn "Can't close output2.txt: $!";
    
  4. or download this
    #!usr/bin/perl
    use say;
    ...
    
    close($fh2)
        or warn "Can't close output2.txt: $!";