That’s exactly what I need.  I found it in my book as well…

 

Thanks!

 

-Dan

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 8:23 AM
To: Daniel Rychlik
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: copying chunks

 


From the Camel book:

read FILEHANDLE, SCALAR, LENGTH, OFFSET
read FILEHANDLE, SCALAR, LENGTH

...attempts to read LENGTH bytes of data into variable SCALAR from the specified FILEHANDLE.

Page 202 of 2nd Edition.

HTH,

Deane


 

"Daniel Rychlik" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

05/31/2006 07:42 AM

       
        To:        <[email protected]>
        cc:        
        Subject:        copying chunks




Good Wednesday Morning,
 
Is their a way in perl to break a file a part into separate chunks, write the chunk to the hard disk, and then copy up the next chunk of data; keep repeating all the chunks until the file is complete?
 
Dan_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to