Re: [perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2008-04-15 Thread Andy_Bach
Sorry, I know this is closed but it seemed to be related to what I'm seeing. Due to my (perhaps unorthodox) permission settings, I'm getting No Perldoc found due to: config/auto/perldoc.pm trying: sub runstep { my ( $self, $conf ) = @_; my $cmd = $conf-data-get_p5('scriptdirexp') .

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2008-01-12 Thread James Keenan via RT
I had no feedback on this refactoring, but I got no complaints either. No smoke tests failed. Resolving ticket.

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-29 Thread James Keenan via RT
Please see the refactored version of config/auto/perldoc.pm and two test files, t/configure/147-auto_perldoc-01.t and -02.t, which were committed in or before r24258. I had intended to submit these as a patch to list, but my SVN sandbox got confused today during theh planned outage, and everthing

Re: [perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-26 Thread Andy Dougherty
On Mon, 24 Dec 2007, James Keenan via RT wrote: On Thu Nov 01 18:53:47 2007, [EMAIL PROTECTED] wrote: In configuration step auto::perldoc there is found this code to probe for the presence of the perldoc utility and, if present, version thereof: my $content = capture_output('perldoc

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-26 Thread James Keenan via RT
On Wed Dec 26 10:33:28 2007, doughera wrote: On Mon, 24 Dec 2007, James Keenan via RT wrote: Given that we have decided that Perl 5.8 is the minimum version of Perl you need to build Parrot, is there *any* possibility that someone who gets to this point in configuration could

Re: [perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-26 Thread chromatic
On Wednesday 26 December 2007 10:32:46 Andy Dougherty wrote: On Mon, 24 Dec 2007, James Keenan via RT wrote: An additional thought: Could someone be using an older version of perldoc if they are using the perldoc provided by an RPM or a .deb? Debian certainly supplies 'perldoc' in a

Re: [perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-26 Thread Andy Dougherty
On Wed, 26 Dec 2007, James Keenan via RT wrote: On Wed Dec 26 10:33:28 2007, doughera wrote: On Mon, 24 Dec 2007, James Keenan via RT wrote: Given that we have decided that Perl 5.8 is the minimum version of Perl you need to build Parrot, is there *any* possibility that

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-26 Thread James Keenan via RT
On Wed Dec 26 14:06:12 2007, doughera wrote: Or, you could explicitly call the perldoc in $Config{scriptdir} instead of whatever random 'perldoc' happens to occur first in $PATH. Ah, that sounds more like it. I will explore this option.

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-24 Thread James Keenan via RT
On Thu Nov 01 18:53:47 2007, [EMAIL PROTECTED] wrote: In configuration step auto::perldoc there is found this code to probe for the presence of the perldoc utility and, if present, version thereof: my $content = capture_output('perldoc -ud c99da7c4.tmp perldoc') || undef; if (

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-24 Thread Bob Rogers
From: James Keenan via RT [EMAIL PROTECTED] Date: Mon, 24 Dec 2007 17:46:47 -0800 On Thu Nov 01 18:53:47 2007, [EMAIL PROTECTED] wrote: (BTW, does anyone know when the different versions of 'perldoc' were introduced? Googling for 'perldoc version 1' was unproductive, and I

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-24 Thread Bob Rogers
From: James Keenan via RT [EMAIL PROTECTED] Date: Mon, 24 Dec 2007 17:46:47 -0800 On Thu Nov 01 18:53:47 2007, [EMAIL PROTECTED] wrote: (BTW, does anyone know when the different versions of 'perldoc' were introduced? Googling for 'perldoc version 1' was unproductive, and I

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-24 Thread James Keenan via RT
On Mon Dec 24 18:50:18 2007, rgrjr wrote: FWIW, the perldoc that shipped with 5.8.0 is version 2.03, and it doesn't handle the -d option, which was added in 5.8.1. -- Bob Rogers http://rgrjr.dyndns.org/

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-24 Thread Bob Rogers
From: James Keenan via RT [EMAIL PROTECTED] Date: Mon, 24 Dec 2007 19:14:45 -0800 Thanks, Bob. Do you know if there's any definitive source on the history of perldoc in relation to Perl versions? Not that I'm aware of. I just poked around in the two oldest Perl installations I have

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-11-01 Thread James Keenan via RT
In configuration step auto::perldoc there is found this code to probe for the presence of the perldoc utility and, if present, version thereof: my $content = capture_output('perldoc -ud c99da7c4.tmp perldoc') || undef; if ( defined $content ) { if ( $content =~ m/^Unknown

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-10-21 Thread James Keenan via RT
File holding framework for writing tests for this configuration step was committed to trunk Oct 21 2007 in r22362. Tests do not yet provide high coverage due to obstacles in testing runstep(). You are encouraged to poke around and add tests.

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-06-22 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #43305] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43305 Write unit tests for config/auto/perldoc.pm, the module whose functionality