Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to divide a line from a text file into 8 digit chunks

by balakrishnan (Monk)
on Feb 24, 2009 at 10:40 UTC ( #745956=note: print w/replies, xml ) Need Help??


in reply to How to divide a line from a text file into 8 digit chunks

You might be the interested in the following.
open FH,"./input.txt"; while(<FH>) { @arr = ($_ =~ m/.{1,8}/g); print join "***\n",@arr; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://745956]
help
Chatterbox?
[Discipulus]: yes, some semantic for the searxh must implemented before using such kind of query

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-02-28 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.