Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Wednesday October 15, 2003
12:24 PM

Gedcom update and mod_perl installation

[ #15224 ]

I've made several changes to the Gedcom app I've been constructing. The information page for each individual(example) now shows pictures, general info, any notes if available and any next of kin the database (with links to their records of course). I really need to come up with a decent naming scheme for the TMPL_VAR names used. It sucks to write a date range (date1 - date2) like so:

<!-- TMPL_IF NAME="dates" -->(
<!-- TMPL_IF NAME="BIRT" -->
   <!-- TMPL_LOOP NAME="BIRT" -->
       <!-- TMPL_IF NAME="__FIRST__" -->
           <!-- TMPL_IF NAME="DATE" --><!-- TMPL_VAR NAME="DATE" --><!-- TMPL_ELSE -->Unknown<!-- /TMPL_IF -->
       <!-- /TMPL_IF -->
   <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->Unknown<!-- /TMPL_IF --> -
<!-- TMPL_IF NAME="DEAT" -->
   <!-- TMPL_LOOP NAME="DEAT" -->
       <!-- TMPL_IF NAME="__FIRST__" -->
           <!-- TMPL_IF NAME="DATE" --><!-- TMPL_VAR NAME="DATE" --><!-- TMPL_ELSE -->Unknown<!-- /TMPL_IF -->
       <!-- /TMPL_IF -->
   <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->Unknown<!-- /TMPL_IF -->
)<!-- /TMPL_IF -->

Anywho, i tried to install mod_perl on that machine the other day and was having problems during make test - around 1/3 of all tests failed. I let it go for a day and went back at it eventually. Stumbling upon a thread on yahoo which recommeded installing Bundle::Apache. Of course this is to install mod_perl 1, so i had to quit out before it started to install that. However, I ran make test again and everything was peachy. I guess i missed the part in the installation guide about module prereqs... oops.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Is a meta-template system to maintain your templates. You know, like use Template Toolkit to write HTML::Template files.

    Wait, and then you can use a Perl program to write the TT2 meta-templates, and then ...

    "The only computer problem that can't be solved with another layer of indirection is having too many layers of indirection." ;-)

    • Aye, I hope it never goes that way! =)

      I was thinking something along the lines of a "living_dates" tag, maybe:

      <!-- TMPL_IF NAME="living_dates" -->
      ( <!-- TMPL_VAR NAME="living_dates" --> )
      <!-- /TMPL_IF -->