On Tue, 2007-09-04 at 14:29 +0200, Pedro Soto wrote:
> Hi,
> I have a file with lines of 60 characters each. I would like to
> split every line into its 60 characters, but there is not any delimiter
> between them. Something like: ABCDEFGHIJK etc.
> Is there anyway to do it?

perldoc -f sysread

read 60 bytes of the file at a time.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to