[%
USE db = DBM.Deep("my.db" locking = 1 autoflush = 1);
db.lock;
db.flintstones = { "flintstone" = ["fred" "wilma"]
"rubble" = ["barney" "betty"] };
db.castaways = ["gilligan" "skipper" "professor" "and the rest" ];
db.unlock;
-%]... later that day, or in a different process ...
[% db.flintstones.rubble.get("0"); %] -- barney
[% db.castaways.get("3"); %] -- and the rest
Cool.
Template::Plugin::DBM::Deep 0 Comments More | Login | Reply /