NAME
parse.pl - Run Genealogy::Gedcom::Date.
SYNOPSIS
parse.pl [options]
Options:
-canonical $integer
-date aDate
-help
-maxlevel logOption1
-minlevel logOption2
Exit value: 0 for success, 1 for failure. Die upon error.
OPTIONS
- o -canonical $integer
-
Note: You must use one of:
- o canonical => 0
-
Data::Dumper::Concise's Dumper() prints the output of the parse.
- o canonical => 1
-
canonical_form() is called on the output of parse() to print a string.
- o canonical => 2
-
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
- o -date aDate
-
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: ''.
- o -help
-
Print help and exit.
- o -maxlevel logOption1
-
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'.
- o -minlevel logOption2
-
This option affects Log::Handler.
See the Log::handler docs.
Default: 'error'.
No lower levels are used.