in reply to Re: string and sysread and read work differently
in thread string and sysread and read work differently
DOH!
I am using the OFFSET $ptr as an offset in the file I am reading instead of what it really is ... an offset into the string I am placing the data into.
ARRRGH! Too tired!
Thanks for your help!!!