Help for this page

Select Code to Download


  1. or download this
    open IN, "<&", $ARGV[0] or die $!;
    binmode IN;
    ...
    $s = <IN>;
    print "line: $s";
    close IN;
    
  2. or download this
    use strict;
    use warnings;
    ...
    print WRITEHANDLE "Test!\n";
    close WRITEHANDLE;
    wait;