Text::Tabs(3pm) Perl Programmers Reference Guide Text::Tabs(3pm)
NAME
Text::Tabs -- expand and unexpand tabs per the unix expand(1) and unexpand(1)
SYNOPSIS
use Text::Tabs;
$tabstop = 4;
@lines_without_tabs = expand(@lines_with_tabs);
@lines_with_tabs = unexpand(@lines_without_tabs);
DESCRIPTION
Text::Tabs does about what the unix utilities expand(1) and unexpand(1) do. Given
a line with tabs in it, expand will replace the tabs with the appropriate number of
spaces. Given a line with or without tabs in it, unexpand will add tabs when it
can save bytes by doing so. Invisible compression with plain ascii!
BUGS
expand doesn’t handle newlines very quickly -- do not feed it an entire document in
one string. Instead feed it an array of lines.
AUTHOR
David Muir Sharnoff <muir AT idiom.com>
perl v5.8.6 2001-09-21 Text::Tabs(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2008-12-02 02:15 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)