The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-04-2008
trek trek is offline
Registered User
  
 

Join Date: Apr 2008
Location: Austria
Posts: 9
usage of module Text::Wrap;

hi, i want to use module Text::Wrap.
this module provides the option $Text::Wrap::tabstop to change the tabstop from 8 blanks to any nummer.
i want to set it to 30 blanks. but when i change the nummer of blanks nothing happens.


Code:
Text::Wrap::tabstop = 30;
$wtd = wrap("","\t",$1);

or do i have to use another 2nd parameter then tab in wrap() ???

thx