ars_SetSchema(ctrl, name, schemaHash)
schemaHash
before calling this routine.
name
is the schema name.
schemaHash
is a partially assigned
Schema Attributes hash.
Example:
This example copies an existing schema to a new schema. I.e. it simply re-saves the schema under a new name.
($a = ars_GetSchema($c, "AL-foobar")) || die $ars_errstr; $a->{name} = "Copy of ".$a->{name}; ars_SetSchema($c, $name, $a) || die $ars_errstr;
This function was introduced in version 1.90 of ARSperl