8.32 Class::Struct
Formerly named Class::Template; exports a single
function, Each element in the struct data has an accessor method, which is used to assign to the element and to fetch its value. The default accessor can be overridden by declaring a sub of the same name in the package. Each element's type can be scalar, array, hash, or class. Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|