The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

tree

DESCRIPTION

Draw an SVG Christmas tree.

SYNOPSIS

Draw the default Christmas tree.

    $ ./tree > my_tree.svg

Draw a different Christmas tree.

    $ ./tree --layers=5 --pot_colour='rgb(0,0,255)' > another_tree.svg

OPTIONS

    usage: tree [-?h] [long options...]
        -h -? --usage --help        Prints this usage information.
        --width INT
        --layers INT
        --trunk_length INT
        --leaf_colour STR
        --bauble_colour STR
        --trunk_colour STR
        --pot_colour STR
        --pot_height INT