classes/perlenv.pmc - Perl System Environment


PerlEnv extends Env to return scalars from get_pmc_keyed().

Methods ^

void *get_pointer()

void set_pointer(void *ptr)

Gets and sets the pointer to the singleton instance. See src/pmc.c for more information on the singleton creation interface.

PMC *get_pmc_keyed(PMC *key)

Returns the result of get_string_keyed(key) as a PerlString.

void set_pmc_keyed(PMC *key, PMC *value)

Returns the result of calling set_string_keyed() with *value converted to a Parrot string.