NAME

Border::Style::Role - Role for class wanting to support border styles

VERSION

This document describes version 0.01 of Border::Style::Role (from Perl distribution Border-Style), released on 2014-12-10.

DESCRIPTION

ATTRIBUTES

border_style => HASH

border_style_args => HASH

METHODS

$cl->list_border_styles($detail) => ARRAY

$cl->get_border_style($name) => HASH

$cl->get_border_char($y, $x, $repeat, \%args) => STR

Pick border character from border style (and optionally repeat it $repeat times). \%args is a hashref to be supplied to the coderef if the 'chars' value from the style is a coderef.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Border-Style.

SOURCE

Source repository is at https://github.com/perlancar/perl-Border-Style.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Border-Style

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.