Re: [Module::Build] Heretical ideas about M::B
Austin Schutz <tex <at> off.org>
2004-10-05 22:17:50 GMT
On Fri, Oct 01, 2004 at 07:05:40AM -0500, Randy Kobes wrote:
> > Austin Schutz wrote:
> [ ... ]
>
> > > M::B makes use of 'backlink' in Pod::Html, a newer
> > > feature which doesn't exist in the versions included
> > > with older perls. Possibly some other conflicts, haven't
> > > gotten past this yet. IMO M::B should work with
> > > reasonably old stable perls out of the box, because
> > > people are still developing for them as targets.
> >
> > Backwards compatability is one of Ken's goals. Most of the
> > code is compatable back to 5.005, I believe. However, it's
> > possible that some sneaked in. I think Randy Kobes
> > contributed the htmldoc support; perhaps he can help here
> > if he's still on the list?
>
> Does the following fix this?
No, because it still doesn't like having --backlink in the args even
without a value. It also doesn't like having --header there.
This works for me, though I moved the change to _htmlify_pods().
Thanks,
Austin
*** /usr/perl5/site_perl/5.005/Module/Build/Base.pm Tue Sep 28 14:42:01 2004
--- /opt/packages/rancid/lib/perl/Module/Build/Base.pm Tue Oct 5 22:12:42 2004
***************
*** 1517,1525 ****
my $blib = $self->blib;
my <at> opts = (
! '--header',
'--flush',
- "--backlink=$args{backlink}",
"--title=$title",
"--podpath=$podpath",
"--infile=$infile",
--- 1517,1528 ----
my $blib = $self->blib;
my <at> opts = (
! (
! eval {Pod::Html->VERSION(1.03); 1} ?
! ( '--header', "--backlink=$args{backlink}") :
! ()
! ),
'--flush',
"--title=$title",
"--podpath=$podpath",
"--infile=$infile",
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl