Just another Perl shrine | |
PerlMonks |
Re^4: STDERR Restore after redirectby tultalk (Monk) |
on Apr 28, 2018 at 02:19 UTC ( [id://1213713]=note: print w/replies, xml ) | Need Help?? |
Thanks I tried the local before and it did not work. Will try again I put some code in the sub that fails to print:
Result in my error log below: Fri Apr 27 16:43:31 2018 manage_users.cgi: STDOUT Defined at manage_users.cgi line 806. STDERR Defined at manage_users.cgi line 814. Fri Apr 27 16:43:31 2018 manage_users.cgi: STDERR Defined at manage_users.cgi line 814. At exit of sub CreateUserFeedbackForm at manage_users.cgi line 964. Fri Apr 27 16:43:31 2018 manage_users.cgi: At exit of sub CreateUserFeedbackForm at manage_users.cgi line 964. Since both returned "defined" my next question: Does that mean they are functional? I guess I could try writing to the handles to see but thought maybe some Monk could say "Yes defined means it is functional" Thanks
In Section
Seekers of Perl Wisdom
|
|