Claes Jakobsson > VS-RuleEngine-0.09 > VS::RuleEngine::Data

Download:
VS-RuleEngine-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

VS::RuleEngine::Data - Data

INTERFACE ^

CLASS METHODS ^

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.

syntax highlighting: