Skip Menu |

This queue is for tickets about the Test-Output CPAN distribution.

Report information
The Basics
Id: 69583
Status: rejected
Priority: 0/
Queue: Test-Output

People
Owner: Nobody in particular
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.01
Fixed in: (no value)



Subject: END statement
Is it possible to have Test::Output check programs such as this: END { print "hello, world\n"; # This isn't seen by Test::Output };
On Tue Jul 19 15:03:10 2011, njh@bandsman.co.uk wrote: Show quoted text
> Is it possible to have Test::Output check programs such as this: > > END { > print "hello, world\n"; # This isn't seen by Test::Output > };
It might be possible, but I don't know how to handle that. If you find a way, let me know.
From: njh [...] bandsman.co.uk
Show quoted text
> It might be possible, but I don't know how to handle that. If you find > a way, let me know.
I was hoping you'd know a way and would let ME know :-)
I don't think Test::Output is going to be able to handle this. You'll have to use something else, such as running a program through system() and capturing all the output. As such, I'm going to close this ticket.