use Book::DBMCache; use strict; my $r = shift; $r->send_http_header("text/plain"); my $foo = exists $Book::DBMCache::dbm{foo} ? $Book::DBMCache::dbm{foo} : ''; print "The value of foo: [$foo]";