Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    }
    print "data: $data\n";
    
  2. or download this
    #-----
    # handle SIGPIPE ourselves, so we don't get killed
    ...
    }
    #-----
    
  3. or download this
    BROKEN PIPE
    print to GLOB(0x6ff5b0) FAILED
    reading from GLOB(0x6ff360) ('echo bar |')
    data: bar
    
  4. or download this
    wrote 'foo' to GLOB(0x63c160) ('| cat')
    reading from GLOB(0x6ff5a0) ('cat |')
    data: foo
    
  5. or download this
    GLOB(0x6ff5b0) not ready for writing
    reading from GLOB(0x6ff360) ('echo bar |')
    data: bar