in reply to Re: Re: Re: Re: Error using HTML::Template
in thread Error using HTML::Template
I did the same thing - that's what I meant by "manually satisfy the requirements". I gave up on Cwd, since it uses xs.
Once you've uploaded all of these, try running the code from HTML::Template's pod.
Let me try something...
Try this, it works for me. Rename the real Cwd.pm and upload a 'new' Cwd.pm, with the following:
package Cwd; require Exporter; use vars @EXPORT; @EXPORT = qw/getcwd/; sub import { my $pkg = shift; my $caller = caller; Exporter::export( $pkg, $caller, @EXPORT ); } sub getcwd { '.' } 1;
Here are the rest of the modules you'll need:
$ perl -MHTML::Template -e'print join "\n", keys %INC' | sort base.pm Carp.pm Exporter.pm File/Spec.pm File/Spec/Unix.pm HTML/Template.pm integer.pm strict.pm vars.pm warnings.pm warnings/register.pm
Good luck!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Re: Error using HTML::Template
by Anneq (Vicar) on Dec 12, 2003 at 14:10 UTC |
In Section
Seekers of Perl Wisdom