NAME App::hr - Print horizontal bar on the terminal VERSION This document describes version 0.03 of App::hr (from Perl distribution App-hr), released on 2014-12-10. SYNOPSIS use App::hr qw(hr); hr; Sample output: ============================================================================= hr('x----'); Sample output: x----x----x----x----x----x----x----x----x----x----x----x----x----x----x----x- You can also use the provided CLI hr. FUNCTIONS hr([CHAR]) => optional STR Print (under void context) or return (under scalar/array context) a horizontal ruler with the width of the terminal. "CHAR" is optional, can be multicharacter, but cannot be empty string. The defautl is "=". Under Windows, when printing, will shave one character at the end because the terminal cursor will move a line down when printing at the last column. Terminal width is currently determined using Term::App::Role::Attrs, which will either use environment variable "COLUMNS" or detecting using Term::Size, or if all those fail, use a hard-coded default of 80. HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website 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 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.