Text_Tabs

# NAME

Text::Tabs -- expand and unexpand tabs

# SYNOPSIS

            use Text::Tabs;

            #$tabstop = 8; # Defaults
            print expand("Hello\tworld");
            print unexpand("Hello,        world");
            $tabstop = 4;
            print join("\n",expand(split(/\n/,
                    "Hello\tworld,\nit's a nice day.\n"
                    )));

# DESCRIPTION

This module expands and unexpands tabs into spaces, as per the unix expand and unexpand programs. Either function should be passed an array of strings (newlines may not be included, and should be used to split an incoming string into separate elements.) which will be processed and returned.

# AUTHOR

David Muir Sharnoff <muir@idiom.com>