Dear all:
The prototype of read is
read FILEHANDLE,SCALAR,LENGTH
ex:
read PATTERN, $line, 1920;

that means the $line will content 1920 bytes.
if I want to modify the byte offset 720 of $line, it seems impossible,
since $line is a scalar not an array.
I know I can read a byte to each array element one by one, but it
seems pretty slow.

Is there any read file function can read in the file content to an array?
appreciate your help,
miloody

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


Reply via email to