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

[MacPerl] bug or feature in Mac::Memory::set (?)



Consider

use Mac::Memory;
$hs = new Handle("This string will now exist in hyperspace");
$hs->set(5, 6, "datum"); # shortens content of handle

The call to 'set' doesn't seem to call 'SetHandleSize' to reflect the new size of the handle. Is this the way 'set' is intended to work? Or is it a bug?

Kevin Walker



***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch