Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: character-by-character in a huge file

by ambrus (Abbot)
on Apr 08, 2004 at 18:51 UTC ( [id://343697]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string1= "hello, world\n"; $string2= $string1; pos($string1)= 4; whil
    +e ($string1=~/(.)/gs) {$win_right= $1; $string2=~/(.)/gs; $win_left= 
    +$1; print " "x$n++, "$win_left...$win_right\n"}
    
  2. or download this
    h...o
     e...,
    ...
           w...d
            o...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-23 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found