My guess is that in perl 5.10 Pod::Text is version >= 3, (perl -e 'use 
Pod::Text; print $Pod::Text::VERSION;'), which has been a bug for 
awhile, since the API changed between versions 2 to 3.  See
http://sourceforge.net/tracker/index.php?func=detail&aid=1552208&group_id=612&atid=100612
 
.

I think I switched distros, and my new distro had an older Pod::Text, so 
I forgot about this one.  Feel free to close that bug report when you've 
got sufficient good feedback.  Thanks!

Looks OK on Linux i386 perl 5.8.6 w/ Pod::PlainText 2.02.

cheers,
Derek


Doug Hunt wrote:
> Hi all:  I've been bugged by a problem in perldl when PDL is compiled 
> under perl 5.10 which does not allow 'apropos' lookup of functions:
>
> perldl> ?? dim
> Can't locate object method "interpolate" via package "Pod::Text" at 
> /ops/tools/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi/PDL/Doc/Perldl.pm
>  
> line 152.
>
> I attach an updated version of Doc/Doc/Perldl.pm which solves this 
> problem by replacing calls to Pod::Text with Pod::PlainText.  I've 
> also cleaned out some old nasty (the comments even said so!) code 
> designed for use with old Pod::Text versions.
>
> I've tested this under Linux i386/perl 5.10.0, Linux x86_64/perl 
> 5.10.0 and Linux x86_64/perl 5.8.8.
>
> You can check whether this works by just copying the attached file 
> into (for example)
>
> /usr/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi/PDL/Doc/Perldl.pm
>
> and typing:
>
> $ perldl
> perldl> ?? dim
>
> Could people give this a try on some installations and let me know if 
> it looks good?  If so, I'll check it into CVS.
>
> Thanks,
>
>   Doug
>
> [EMAIL PROTECTED]
> Software Engineer III
> UCAR - COSMIC, Tel. (303) 497-2611
> ------------------------------------------------------------------------
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>   


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to