Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Can't close pipe to invalid process

by cLive ;-) (Prior)
on Aug 28, 2015 at 21:37 UTC ( [id://1140381]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            my $fh;
            ok( open($fh, "|-", "prince - 2>/dev/null $test_file"), "Open 
    +$test_file for writing" );
            print $fh "<html><body><h1>Hello, world!</h1></body></html>";
            ok( close($fh), "Close $test_file");
    
  2. or download this
    ok 3 - Open /opt/humana/svn/checkouts/rosalind-repo/prod/tmp/testfile.
    +pdf for writing
    not ok 4 - Close /opt/humana/svn/checkouts/rosalind-repo/prod/tmp/test
    +file.pdf
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1140381]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found