VS::RuleEngine::Data - Data


VS-RuleEngine documentation  | view source Contained in the VS-RuleEngine distribution.

Index


NAME

Top

VS::RuleEngine::Data - Data

INTERFACE

Top

CLASS METHODS

Top

new ( @key_value_pairs )

Creates a new hash with starting values.

INSTANCE METHODS

lock

Locks the data so that modification isn't possible

unlock

Unlocks the data so modification is possible again

clear

Removes all keys and their associated data.

delete ( $key )

Deletes the key $key and its data.

exists ( $key )

Checks if the key exists.

get ( $key)

Retrieves the value for $key.

keys

Returns a list of all keys.

set ( $key ) =item put ( $key => $value )

Sets the value for $key to $value.

values

Returns a list of all values.


VS-RuleEngine documentation  | view source Contained in the VS-RuleEngine distribution.