#9 Can't locate obj method interpolate via package Pod::Text

open
nobody
None
5
2006-10-12
2006-10-12
Anonymous
No

This is perl, v5.8.7 built for i686-linux

Using cpan2rpm-2.028 I get the error:

Can't locate object method "interpolate" via
package "Pod::Text"
at /home/dev/pmbuild/perlbin/lin32/perl/bin/cpan2rpm
line 522.

I'm also using:

Pod::Text 3.07 as derived from Pod::Simple

When I use:

Pod::Text 2.21 as derived from Pod::Parser

the problem goes away, this is because

Pod::Parser has interpolate, Pod::Simple does not.

In my patch below I make use of Pod::PlainText:

Pod::PlainText is derived from Pod::Parser

$ p4 diff cpan2rpm
==== cpan2rpm-2.028/cpan2rpm#1 - cpan2rpm-
2.028/cpan2rpm ====
31c31
< use Pod::Text;
---
> use Pod::PlainText;
362c362
< my $pod = Pod::Text->new();
---
> my $pod = Pod::PlainText->new();

Thank you.

Peter (Stig) Edwards
cpan@pjedwards.co.uk

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks