Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    close $wh;
    
    print "done.\n";    # not reached, except when handling SIGPIPE yourse
    +lf
    
  2. or download this
    $ strace ./747486.pl
    (...)
    ...
    write(8, "foo\n", 4)                    = -1 EPIPE (Broken pipe)
    --- SIGPIPE (Broken pipe) @ 0 (0) ---
    +++ killed by SIGPIPE +++