In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/23a23683ee197c33ff0452e9cd96c687087b7893?hp=dc47dc11fc409a5105cbcafee6e5587b7e8633ed>

- Log -----------------------------------------------------------------
commit 23a23683ee197c33ff0452e9cd96c687087b7893
Author: Gisle Aas <[email protected]>
Date:   Mon Apr 19 00:04:41 2010 +0200

    Revert "Documentation tweaks to Text::Tabs"
    
    This change was reported upstream in 
<https://rt.cpan.org/Ticket/Display.html?id=56699>.
    Committing it directly to blead was a mistake.
    
    This reverts commit f6e2320c520b8d610a864cd42aece1f0df2db895.
-----------------------------------------------------------------------

Summary of changes:
 cpan/Text-Tabs/lib/Text/Tabs.pm |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/cpan/Text-Tabs/lib/Text/Tabs.pm b/cpan/Text-Tabs/lib/Text/Tabs.pm
index 49ec775..d3c06a0 100644
--- a/cpan/Text-Tabs/lib/Text/Tabs.pm
+++ b/cpan/Text-Tabs/lib/Text/Tabs.pm
@@ -95,16 +95,12 @@ Text::Tabs -- expand and unexpand tabs per the unix 
expand(1) and unexpand(1)
 
 =head1 SYNOPSIS
 
-  use Text::Tabs qw(expand unexpand);
+  use Text::Tabs;
 
+  $tabstop = 4;  # default = 8
   @lines_without_tabs = expand(@lines_with_tabs);
   @lines_with_tabs = unexpand(@lines_without_tabs);
 
-  {
-      local $Text::Tabs::tabstop = 4;  # default is 8
-      @lines_without_tabs = expand(@lines_with_tabs);
-  }
-
 =head1 DESCRIPTION
 
 Text::Tabs does about what the unix utilities expand(1) and unexpand(1) 
@@ -113,12 +109,6 @@ 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 (just
 like C<unexpand -a>).  Invisible compression with plain ASCII! 
 
-The global variable C<$Text::Tabs::tabstop> controls how many columns
-positions apart each tabstop are.  The default is 8.
-
-The functions expand(), unexpand() as well as the variable $tabstop
-are exported by default.
-
 =head1 EXAMPLE
 
   #!perl

--
Perl5 Master Repository

Reply via email to