Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: STDERR Restore after redirect

by tultalk (Monk)
on Apr 27, 2018 at 03:54 UTC ( [id://1213663]=note: print w/replies, xml ) Need Help??


in reply to Re: STDERR Restore after redirect
in thread STDERR Restore after redirect

Thanks

Had already tried that with same result

Mental block on scoping

Have block of code that calls a sub which calls another sub which returns result(0 or 1) after allegedly closing the handle opened in that last sub. The result propagates back to the original block which then tries to print a response back to the client. That print command is what comes up against the closed handle. The close was after STDERR AND STDOUT were restored so I can't understand how the STDOUT was closed.

If the handles are closed, perhaps reopening them.

Replies are listed 'Best First'.
Re^3: STDERR Restore after redirect
by Anonymous Monk on Apr 27, 2018 at 13:02 UTC
    Anything anywhere in the SendMail package could have done it. I think you need to take a different approach to this.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2026-01-16 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.