NAME

Kvasir::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.