in reply to Re: Not my first program, but the first I'll share...
in thread Not my first program, but the first I'll share...

Heh, thanks for all this new information Coruscate... Now this aught to take me a while to decode... Sadly such programming goes beyond the scope of The Visual Quickstart Guide I'm learning from. ^_^

Not sure what's up, but there when I try running your version of the script I get:
Can't locate HTML/Template.pm in @INC (@INC contains: e:/ActivePerl/Perl/lib e:/ActivePerl/Perl/site/lib .) at c:\webweaver\docs\sv.pl line 6. BEGIN failed--compilation aborted at c:\webweaver\docs\sv.pl line 6.

I found the HTML directory, and sure enough there is no module named Template. On my way to download it now.
  • Comment on Re: Re: Not my first program, but the first I'll share...

Replies are listed 'Best First'.
Re: Re: Re: Not my first program, but the first I'll share...
by bradcathey (Prior) on Oct 28, 2003 at 02:08 UTC
    pekkhum, if you are using the Elizabeth Castro book, like I did, you will find that you will have to unlearn some stuff to conform with methods in the monastery. I recommend you switch to the O'Reilly books, Learning Perl (Llama book), Programming Perl (Camel book), and CGI Programming in Perl. Invaluable.

    Speaking of invaluable: HTML::Template! BTW, the module is not called Template, but HTML::Template.

    Appreciate your bravery in posting your code, I've learned a lot by following the thread. You don't get better teachers than the likes of davido and Coruscate.

      Thanks for the suggestion, I've been saving up for those books for a while, but with my mainboard blown, I'm gonna be to broke, for a long time. ^_^ The Castro book is a great first step, but now I am indeed trying to learn as much as I can from the monastary. I need all the help I can get. Anyone here is welcome to message me on my AIM name, pekkhum. (Only AIM for now, since my private computer is dead.

      Also, I can't compile the HTML::Template module due to the sadly limited scope of my (Free) Perl interpreter, I need to find one compiled for ActivePerl 5.8.0 on Windows XP. Anyone know a site that has it?
        HTML::Template is available as a ppm file from Activestate. You should be able to install from ppm. It worked on mine, in any case.
Re^3: Not my first program, but the first I'll share...
by Coruscate (Sexton) on Oct 28, 2003 at 23:54 UTC

    I was asked by pekkhum if I could explain a bit, so here's the best job I am capable of doing. Hopefully it's enough to help out a bit.