Skip Menu |

This queue is for tickets about the Acme-Homer CPAN distribution.

Report information
The Basics
Id: 76002
Status: open
Priority: 0/
Queue: Acme-Homer

People
Owner: Nobody in particular
Requestors: ilyuha1 [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: v0.0.2
Fixed in: (no value)



Subject: woohoo STDERR "whatever";
Hi! If you want to use 'woohoo STDERR "whatever";' syntax, then you probably can add these lines to Acme::Homer: use IO::Handle; no strict 'refs'; *{IO::Handle::woohoo} = sub { goto \&IO::Handle::print }; It works for modern perl versions (at least for 5.12), but don't know how will it work for older versions.
Subject: Re: [rt.cpan.org #76002] woohoo STDERR "whatever";
Date: Fri, 23 Mar 2012 07:55:57 -0500
To: bug-Acme-Homer [...] rt.cpan.org
From: Dan Muey <webmaster [...] simplemood.com>
thanks! I'll check it out when I get time On Mar 23, 2012, at 7:34 AM, Ilya A. Chesnokov via RT wrote: Show quoted text
> Fri Mar 23 08:34:53 2012: Request 76002 was acted upon. > Transaction: Ticket created by ichesnokov > Queue: Acme-Homer > Subject: woohoo STDERR "whatever"; > Broken in: v0.0.2 > Severity: Normal > Owner: Nobody > Requestors: ilyuha1@mail.ru > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76002 > > > > Hi! > > If you want to use 'woohoo STDERR "whatever";' syntax, then you probably > can add these lines to Acme::Homer: > > use IO::Handle; > no strict 'refs'; > *{IO::Handle::woohoo} = sub { goto \&IO::Handle::print }; > > It works for modern perl versions (at least for 5.12), but don't know how > will it work for older versions.