Skip Menu |

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

Report information
The Basics
Id: 43369
Status: resolved
Priority: 0/
Queue: Net-Bonjour

People
Owner: Nobody in particular
Requestors: jesse [...] bestpractical.com
Cc:
AdminCc:

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



CC: Jesse Vincent <jesse [...] bestpractical.com>
Subject: [PATCH] Switch to using MakeMaker's standard for prompting
Date: Tue, 17 Feb 2009 16:03:40 -0500
To: bug-Net-Bonjour [...] rt.cpan.org
From: Jesse Vincent <jesse [...] bestpractical.com>
--- Makefile.PL | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 8852762..e4ba34a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,8 +1,9 @@ use ExtUtils::MakeMaker; -print "Enable enterprise tests? [y/N]"; -chomp(my $ans = <STDIN>); +my $ans = prompt("Enable enterprise (remote) tests? [yN]"); + my $tests = 't/*.t'; + if ( $ans =~ /^y/i ) { print "Enterprise tests enabled.\n"; print "Enterprise test will query HTTP service records from zeroconf.org\n"; -- 1.6.1
Patch added in version 0.96.