in reply to Re: perl fool - inserting text into html doc
in thread perl fool - inserting text into html doc

Thanks a lot everyone, this has been really helpful. Answered all my questions. Now I've got a new one =)

Tachyon mentioned installing modules locally - I tried that by copying the Template.pm file to my cgi-bin directory and telling it to use Template.pm, but it kept telling me it couldnt find it. Is there a special syntax for using local modules?
  • Comment on Re: Re: perl fool - inserting text into html doc

Replies are listed 'Best First'.
Re: Re: Re: perl fool - inserting text into html doc
by tachyon (Chancellor) on Apr 02, 2002 at 23:08 UTC
Re: Re: Re: perl fool - inserting text into html doc
by archen (Pilgrim) on Apr 02, 2002 at 16:56 UTC
    have you tried
    use ./Template.pm;
    Some modules also require that you actually install them, as opposed to just point at them, although I believe HTML::Template can simply be run this way.
    Err.. nevermind what I said. Now that I look closely at your post I realize that you probably have shell access and can just install the module locally (see below). Which is what you SHOULD do. I tend to forget that since my website doesn't allow telnet or ssh.

      ITYM use lib "/my/lib/dir"; use Template;.

      See also perldoc perlmodinstall and perldoc -q 'my own module' for more details.

      < delete >
      feh.... mozilla is not my friend today..