ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP.pm
(Generate patch)

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.124 by root, Sat Mar 3 11:38:43 2012 UTC vs.
Revision 1.125 by root, Sat Mar 3 13:07:19 2012 UTC

889contains values. 889contains values.
890 890
891The top level hash key is called "family", and the second-level hash key 891The top level hash key is called "family", and the second-level hash key
892is simply called "key". 892is simply called "key".
893 893
894The family and key must be alphanumeric ASCII strings, i.e. start 894The family must be alphanumeric, i.e. start with a letter and consist
895with a letter and consist of letters, digits, underscores and colons 895of letters, digits, underscores and colons (C<[A-Za-z][A-Za-z0-9_:]*>,
896(C<[A-Za-z][A-Za-z0-9_:]*>, pretty much like Perl module names. 896pretty much like Perl module names.
897 897
898As the family namespaceis global, it is recommended to prefix family names 898As the family namespace is global, it is recommended to prefix family names
899with the name of the application or module using it. 899with the name of the application or module using it.
900 900
901The keys must be strings, with no other limitations.
902
901The values should preferably be strings, but other perl scalars should 903The values should preferably be strings, but other perl scalars should
902work as well (such as arrays and hashes). 904work as well (such as undef, arrays and hashes).
903 905
904Every database entry is owned by one node - adding the same family/key 906Every database entry is owned by one node - adding the same family/key
905combination on multiple nodes will not cause discomfort for AnyEvent::MP, 907combination on multiple nodes will not cause discomfort for AnyEvent::MP,
906but the result might be nondeterministic, i.e. the key might have 908but the result might be nondeterministic, i.e. the key might have
907different values on different nodes. 909different values on different nodes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines