Skip Menu |
 

This queue is for tickets about the Net-Ident CPAN distribution.

Report information
The Basics
Id: 21803
Status: stalled
Priority: 0/
Queue: Net-Ident

People
Owner: Nobody in particular
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.20
Fixed in: (no value)



Subject: open(DEBUGFH, "|-") fails on Win32
Download (untitled) / with headers
text/plain 273b
ActiveState perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 open(DEBUGFH, "|-") is not available on MSWin32 yet. It is possible to tie STDOUT so it will prepend every string with '#'. Another way - use perlio. ------- Alexandr Ciornii, http://chorny.net
From: Alexandr Ciornii <alexchorny [...] gmail.com>
Download (untitled) / with headers
text/plain 364b
package HashPrint; use 5.004; use base Tie::Handle; use strict; sub TIEHANDLE { my $pkg = shift; my $self; open $self, ">&STDOUT"; bless \$self, $pkg; } sub PRINT { my $self = shift; my $fh=${$self}; foreach (@_) { my $str=$_; $str=~s/^/#/mg; # print STDERR $str; print $fh $str; } } 1; ------- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #21803] open(DEBUGFH, "|-") fails on Win32
Date: Mon, 2 Oct 2006 09:34:22 +0200
To: "alexchorny [...] gmail.com via RT" <bug-Net-Ident [...] rt.cpan.org>
From: Jan-Pieter Cornet <johnpc [...] xs4all.nl>
Download (untitled) / with headers
text/plain 921b
On Sun, Oct 01, 2006 at 10:54:42AM -0400, alexchorny@gmail.com via RT wrote: Show quoted text
> Queue: Net-Ident > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21803 > > > package HashPrint; > > use 5.004; > use base Tie::Handle; > use strict; > > sub TIEHANDLE { > my $pkg = shift; > my $self; > open $self, ">&STDOUT"; > bless \$self, $pkg; > } > > sub PRINT { > my $self = shift; > my $fh=${$self}; > foreach (@_) { > my $str=$_; > $str=~s/^/#/mg; > # print STDERR $str; > print $fh $str; > } > } > > 1;
Thanks for the fix! It really gets time for a Net::Ident update, I'll see what I can do to release something. -- Jan-Pieter Cornet <johnpc@xs4all.nl> !! Disclamer: The addressee of this email is not the intended recipient. !! !! This is only a test of the echelon and data retention systems. Please !! !! archive this message indefinitely to allow verification of the logs. !!
Download (untitled) / with headers
text/plain 171b
Hi, new maintainer. Is this still an issue for anyone or has it been fixed for windows? If you have patches, please submit one or I take pull requests on github. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.