NAME
Form::Toolkit::Field::Set - A Set of Pure scalar Value's (Not references).
NOTES
The 'value' field of this is in fact a set of values.
value_clone
Returns a shallow clone of the set of contained values (or undef)
has_value
Tests if this field is currently holding the given value.
Usage:
if
(
$this
->has_value(
$whatever_value
) ){
...
}
add_value
Adding value to this set. Will NOT add duplicates. Return false on duplicate and true on success.
remove_value
Removes value from this set. Returns false on failure (it was not in this set) and true on success.
value_struct
See superclass.
clear
Overrides clear so it maintains the value index.