Skip Menu |

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

Report information
The Basics
Id: 20654
Status: resolved
Priority: 0/
Queue: Test-WWW-Simple

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

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



Subject: '-|' is unavailable under Win32 perl
Emulation is proposed in 'perlfork.pod': # simulate open(FOO, "|-") sub pipe_to_fork ($) { my $parent = shift; pipe my $child, $parent or die; my $pid = fork(); die "fork() failed: $!" unless defined $pid; if ($pid) { close $child; } else { close $parent; open(STDIN, "<&=" . fileno($child)) or die; } $pid; } With this modification, I receive following error: 1..9 # Webserver up on # Starting test webserver Missing base argument at C:/Perl/site/lib/HTTP/Response.pm line 93 libwww-perl 5.805 perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 ------- Alexandr Ciornii, http://chorny.net
The piped open is now skipped on Windows.
Close ticket.