1Text::Tabs(3pm)        Perl Programmers Reference Guide        Text::Tabs(3pm)
2
3
4

NAME

6       Text::Tabs -- expand and unexpand tabs per the unix expand(1) and unex‐
7       pand(1)
8

SYNOPSIS

10         use Text::Tabs;
11
12         $tabstop = 4;
13         @lines_without_tabs = expand(@lines_with_tabs);
14         @lines_with_tabs = unexpand(@lines_without_tabs);
15

DESCRIPTION

17       Text::Tabs does about what the unix utilities expand(1) and unexpand(1)
18       do.  Given a line with tabs in it, expand will replace the tabs with
19       the appropriate number of spaces.  Given a line with or without tabs in
20       it, unexpand will add tabs when it can save bytes by doing so.  Invisi‐
21       ble compression with plain ascii!
22

BUGS

24       expand doesn't handle newlines very quickly -- do not feed it an entire
25       document in one string.  Instead feed it an array of lines.
26

LICENSE

28       Copyright (C) 1996-2002,2005 David Muir Sharnoff.  Copyright (C) 2005
29       Aristotle Pagaltzis This module may be modified, used, copied, and
30       redistributed at your own risk.  Publicly redistributed modified ver‐
31       sions must use a different name.
32
33
34
35perl v5.8.8                       2001-09-21                   Text::Tabs(3pm)
Impressum