Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Adding a TAB after a certain ammount of characters

by biancoari (Initiate)
on Apr 17, 2013 at 12:09 UTC ( #1029131=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     #!/usr/local/bin/perl 
    perl -Mstrict -Mwarnings -E 
    my $text =
    ...
    push @cums, $_ + $cums[ -1 ] for @offs;
    substr $text, $_, 0, q{-} for reverse @cums[ 1 .. $#cums ];
    say $text; 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029131]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-11-19 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (206 votes). Check out past polls.

    Notices?