The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

test.file.pl - Test parsing of some SVG path/attribute combinations

SYNOPSIS

test.file.pl [options]

        Options:
        -attribute aString
        -help
        -input_file_name aDataFileName
        -maxlevel aString
        -minlevel aString

All switches can be reduced to a single letter.

Exit value: 0.

OPTIONS

o -attribute aString

Specifies the name of the attribute (and hence of the BNF) to process:

o d

This is for a path's 'd' attribute.

o points

Use this for a polygon's and a polyline's points.

o preserveAspectRatio

Various tags can have a 'preserveAspectRatio' attribute.

o transform

Various tags can have a 'transform' attribute.

o viewBox

Various tags can have a 'viewBox' attribute.

This option is mandatory.

Default: 'd'.

o -help

Print help and exit.

o -input_file_name aDataFileName

The name of the file to process.

See data/*.dat for many samples.

This option is mandatory.

Default: ''.

o -maxlevel logOption1

This option affects Log::Handler.

See the Log::handler docs.

Default: 'notice'.

o -minlevel logOption2

This option affects Log::Handler.

See the Log::handler docs.

Default: 'error'.

No lower levels are used.