Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Re: Re: Re: Re: Error using HTML::Template

by jsprat (Curate)
on Dec 12, 2003 at 07:19 UTC ( #314241=note: print w/ replies, xml ) Need Help??

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.

Let me try something...

Try this, it works for me. Rename the real and upload a 'new', 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 File/ File/Spec/ HTML/ warnings/

Once you've uploaded all of these, try running the code from HTML::Template's pod.

Good luck!

Comment on Re: Re: Re: Re: Re: Error using HTML::Template
Select or Download Code
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


    Excellent! It worked. Now I need to go away for a while and find out why.

    Many thanks for your help,


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://314241]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2015-10-04 06:26 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (99 votes), past polls