[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Strange behaivor of get method of handle class



At 11.53 +0900 2000.03.16, Tetsuro Kurita wrote:
>$target = 'Macintosh HD:Encode URL ?:Encode URL';
>
>$RF = OpenResFile($target);$temp_handle = Get1Resource('aete', 0);
>
>$aete_handle = new Handle $temp_handle->get;CloseResFile($RF);print
>$aete_handle->get(29, 0);ReleaseResource($aete_handle)
>
>The output to STDOUT is '[syso'.  0 length to read data is given to get
>method of handle class. But 5 byte data is returned.When 0 length is given,
>get method of handle class sometimes returns unexpected results. Does 0
>length have special meaning in get method ?

I have duplicated the error, and will try to fix it when I get a chance to
(hopefully in the next week or so).  Thanks,

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org