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

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.

TAGS

:all - *()

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 64:

Expected '=item *'

Around line 68:

Expected '=item *'

Around line 72:

Expected '=item *'

Around line 76:

Expected '=item *'