Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Capture-Tiny CPAN distribution.

Report information
The Basics
Id: 58208
Status: resolved
Priority: 0/
Queue: Capture-Tiny

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.07
Fixed in: (no value)



Subject: exception inside of capture'd routine doesn't reset file handles
If an exception is thrown within the capture'd subroutine, capture doesn't reset STDIN & STDOUT to what it was before the call. $@ seems to be passed along ok. I've attached example code which exhibits the bug. As written, it should output to STDOUT, STDERR, and a log file, but only the log file is written to. If the die() is removed from within the captured routine the output to STDOUT and STDERR gets through. Thanks, Diab
Subject: ttt
Download ttt
application/octet-stream 368b

Message body not shown because it is not plain text.

Thanks for the report. This has been fixed in release 0.08, just released to CPAN.