parse.pl - Run Genealogy::Gedcom::Date.
parse.pl [options]
Options: -canonical $integer -date aDate -help -maxlevel logOption1 -minlevel logOption2
Exit value: 0 for success, 1 for failure. Die upon error.
Note: You must use one of:
Data::Dumper::Concise's Dumper() prints the output of the parse.
canonical_form() is called on the output of parse() to print a string.
canonocal_date() is called on each element in the result from parser), on separate lines.
Default: 0.
Try these:
perl scripts/parse.pl -max debug -d 'From 21 Jun 1950 to @#dGerman@ 05.Dez.2015' perl scripts/parse.pl -max debug -d 'From 21 Jun 1950 to @#dGerman@ 05.Dez.2015' -c 0 perl scripts/parse.pl -max debug -d 'From 21 Jun 1950 to @#dGerman@ 05.Dez.2015' -c 1 perl scripts/parse.pl -max debug -d 'From 21 Jun 1950 to @#dGerman@ 05.Dez.2015' -c 2
A date in Gedcom format. Protect spaces from the shell by using single-quotes.
Note: You may have trouble with your shell inputting German dates containing 'M�r' on the command line. Adding 'use open qw(:std :utf8);' to your script won't help. At least, it does not help me on my Debian machine running bash.
This option is mandatory.
Default: ''.
Print help and exit.
This option affects Log::Handler.
See the Log::handler docs.
Typical values are: 'error', 'notice', 'info' and 'debug'.
The default produces no output.
Default: 'notice'.
Default: 'error'.
No lower levels are used.
To install Genealogy::Gedcom::Date, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Genealogy::Gedcom::Date
CPAN shell
perl -MCPAN -e shell install Genealogy::Gedcom::Date
For more information on module installation, please visit the detailed CPAN module installation guide.