Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (6)
As of 2025-03-26 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (68 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.