-
-
19 Nov 2020 03:27:25 UTC
- Distribution: Text-ANSI-Printf
- Module version: 2.01
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (99 / 4 / 5)
- Kwalitee
Bus factor: 1- 80.85% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (10.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Text::ANSI::Printf - printf function for string with ANSI sequence
VERSION
Version 2.01
SYNOPSIS
use Text::ANSI::Printf; Text::ANSI::Printf::printf FORMAT, LIST Text::ANSI::Printf::sprintf FORMAT, LIST use Text::ANSI::Printf qw(ansi_printf ansi_sprintf); ansi_printf FORMAT, LIST ansi_sprintf FORMAT, LIST
DESCRIPTION
Text::ANSI::Printf is a almost-printf-compatible library with a capability of handling:
- ANSI terminal sequences - Multi-byte wide characters - Backspaces
FUNCTIONS
- printf FORMAT, LIST
- sprintf FORMAT, LIST
- ansi_printf FORMAT, LIST
- ansi_sprintf FORMAT, LIST
-
Use just like perl's printf and sprintf functions except that printf does not take FILEHANDLE.
IMPLEMENTATION NOTES
This module uses Text::Conceal and Text::ANSI::Fold::Util internally.
SEE ALSO
Text::Conceal, https://github.com/kaz-utashiro/Text-Conceal
Text::ANSI::Fold::Util, https://github.com/kaz-utashiro/Text-ANSI-Fold-Util
Text::ANSI::Printf, https://github.com/kaz-utashiro/Text-ANSI-Printf
App::ansicolumn, https://github.com/kaz-utashiro/App-ansicolumn
https://en.wikipedia.org/wiki/ANSI_escape_code
AUTHOR
Kazumasa Utashiro
LICENSE
Copyright 2020 Kazumasa Utashiro.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Text::ANSI::Printf, copy and paste the appropriate command in to your terminal.
cpanm Text::ANSI::Printf
perl -MCPAN -e shell install Text::ANSI::Printf
For more information on module installation, please visit the detailed CPAN module installation guide.