刘刊 > pantheon > Hermes::Object

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Hermes::Object - Hermes Object Interface.

Each Captialized method depends on a corresponding Lvalue implementation.

e.g. Add() depends on child class add().

METHODS ^

clone()

Returns a cloned object. Requires a load() method.

assign()

Overloads =. Returns the object itself.

bool()

Overloads bool. Returns true if object is defined, false otherwise.

same( object )

Overloads ==. ( And the inverse overloads != ). Returns true if two objects are the same, false otherwise.

List()

Overloads '@{}'. Returns a list.

Dump()

Overloads '""'. Returns a string expression.

Add( $o )

Overloads +. Returns the union of two objects.

Subtract( $o )

Overloads -. Returns the left difference of two objects.

Intersect( $o )

Overloads &. Returns the intersection of two objects.

Symdiff( $o )

Overloads ^. Returns the symmetric difference of two objects.

Multiply( $o )

Overloads *. Returns the product of two objects.

syntax highlighting: