NAME

Text::Rhombus - draw an alphanumerical rhombus.

SYNOPSIS

use Text::Rhombus q(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 93:

Expected '=item *'

Around line 97:

Expected '=item *'

Around line 101:

Expected '=item *'

Around line 105:

Expected '=item *'