NAME

Text::Rhombus - Draw an alphanumerical rhombus

SYNOPSIS

use Text::Rhombus qw(rhombus);

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

FUNCTIONS

rhombus

Draws an alphanumerical rhombus.

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

Returns the rhombus as string.

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() is exportable.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 91:

Expected '=item *'

Around line 95:

Expected '=item *'

Around line 99:

Expected '=item *'

Around line 103:

Expected '=item *'