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

[MacPerl] Dereferencing Handles



Hello

I'm new to MacPerl and I wonder how can I dereference a Handle that points
to a string. I'm using the following code to get the Handle from an open
resource file:


use Mac::Resources;
use Mac::Memory;

$res= OpenResFile $aResFile || die "$^E";
$script= Get1IndResource('TEXT', 1);

Now I'want to manipulate the 'TEXT'-resource which $script holds. How is it
accessible?

Thanx a lot for help.

Michael

                  ------------------------------

                Michael Ziege, Software Development
        Sallenbachstr. 11, CH-8055 Zuerich, Switzerland
tel +41 1 463-8278, fax +41 1 463-8278, e-mail ziege@ito.umnw.ethz.ch

                  ------------------------------