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 ( defined $content ) {
> if ( $content =~ m/^Unknown option:/ ) {
> $content = capture_output('perldoc perldoc') || '';
> $version = 1;
> $self->set_result('yes, old version');
> }
> # ...
>
> The interior 'if' branch implies that someone could be building Parrot
> and yet have no version or perldoc later than version 1. 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 still be running *only* perldoc version 1?
>
> If not, I will eliminate this 'if' block as part of refactoring and
testing.
>
> (BTW, does anyone know when the different versions of 'perldoc' were
> introduced? Googling for 'perldoc version 1' was unproductive, and I
> suspect it was superseded before I ever used Perl. I find perldoc 2.*
> associated with Perl 5.6. I am running 3.14 on both Darwin and Linux.)
>
Can anyone comment on these questions which I posed 7 weeks ago?
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?