Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Splitting a long string

by akho (Hermit)
on Aug 22, 2007 at 08:53 UTC ( [id://634276]=note: print w/replies, xml ) Need Help??


in reply to Splitting a long string

I have not actually understood your goal but
$temp = substr($line, $i * 1_000, 1000);
will give you the substrings you seem to want.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://634276]
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: (3)
As of 2024-04-19 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found