NAME

Text::Rhombus - draw an alphanumerical rhombus.

SYNOPSIS

use Text::Rhombus q(rhombus);

print rhombus(
    lines   =>         31,
    letter  =>        'c',
    case    =>    'upper',
    fillup  =>        '+',
);

DESCRIPTION

see above.

FUNCTIONS

rhombus

Draws an alphanumerical rhombus.

$rhombus = rhombus(
    lines   =>         31,
    letter  =>        'c',
    case    =>    'upper',
    fillup  =>        '+',
);

Returns the rhombus in a scalar context.

Omitting options will return a rhombus of 25 lines.

options

  • lines

    amount of lines.

  • letter

    alphanumerical letter to start with.

  • case

    lower/upper case of the letters within the rhombus.

  • fillup

    fillup character.

EXPORT

rhombus() upon request.

SEE ALSO

perl(1)

LICENSE

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Steven Schubiger

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 95:

Expected '=item *'

Around line 99:

Expected '=item *'

Around line 103:

Expected '=item *'

Around line 107:

Expected '=item *'