Home  |  Linux  | Mysql  | PHP  | XML
From:Philip Durbin Date:Fri Aug 22 23:15:32 2008
Subject:Re: HTML::Timeline
>> What you say is true, but my point was not that the include_spouses
>> option may not always work, but rather that it doesn't include the
>> spouse of the root person, which in this case is Johann Christoph
>> Friedrich Bach.
>
> Fixed in V 1.03, which has been uploaded to CPAN.

So it is!  Thanks!

[pdurbin@macbook examples]$ timeline.pl -r "Lucia Elisabeth  
Munchhusen" -i
[pdurbin@macbook examples]$ grep "Johann Christoph Friedrich Bach"  
timeline.xml
   <event title="Johann Christoph Friedrich Bach" start="1732"  
end="1795"></event>
[pdurbin@macbook examples]$

>> Regarding trouble installing HTML::Timeline from CPAN on the Mac, I
>> just reponded to my earlier post to say that it finally installed.
>> Mostly, anyway. . . timeline.pl wasn't installed.  /usr/bin/ 
>> perlcritic
>> was correctly installed on my Mac with Perl::Critic and I'm not sure
>> why the same is not true for timeline.pl.
>
> Hmmm. I notice that Build.PL for Perl::Critic contains:
>
>    script_files    => ['bin/perlcritic'],
>
> but I've never needed it.
>
> Can you download HTML::Timeline's distro and add that? If that works  
> for
> you I guess I have to add it...

I added the script_files line to Build.PL. . .

macbook:HTML-Timeline-1.03 root# diff Build.PL.orig Build.PL
23a24
 >  script_files    => ['bin/timeline.pl'],
macbook:HTML-Timeline-1.03 root#

. . . and timeline.pl was installed!

So yes, I guess it would be good to add it.

I will note that it was installed to /usr/local/bin/timeline.pl (the  
only file in that directory) on my Mac, while on Linux and Windows  
(Cygwin) it was installed to /usr/bin/timeline.pl.

> Check Makefile.PL for this version:
>
>    EXE_FILES      => ['bin/perlcritic'],
>
> What version of Module::Build and ExtUtils::MakeMaker are you using?

[pdurbin@macbook ~]$ perl -MModule::Build -e 'print  
"$Module::Build::VERSION\n";'
0.2806
[pdurbin@macbook ~]$ perl -MExtUtils::MakeMaker -e 'print  
"$ExtUtils::MakeMaker::VERSION\n";'
6.30

>>>> 7) Fuzzy dates and Gedcom::Date
>>
>> Originally, I put in a note about fuzzy dates when the date couldn't
>> be resolved precisely (i.e. multiple years given as a birth date such
>> as "1772-1773"), but now it seems like any date (even a precise one
>> such as "31 Mar 1685") is considered fuzzy:
>
> Yep. Fixed.

Yep.  Good job.

>>>> 8) Support for ~/.timelinerc
>
> Implemented. See the docs.

~/.timelinerc is great!  Thanks.  Now I can set defaults for  
gedcom_file, root_person, include_spouses, etc.

Phil
Navigate in group perl.gedcom at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants