in reply to DBM keys/values
You could serialize your values with one of the CPAN modules for the task, like Storable or FreezeThaw; or use a multilevel DBM astraction like MLDBM. Anyway if your needs are basic you could rather prefer to join different values with a control character, like \cR:
$dbm{'notverified'} = join "\cR","$form{'usermail'}", "$ID" ;I chose CTRL-R as a mnemonic for Record separator.
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBM keys/values
by sulfericacid (Deacon) on Feb 13, 2003 at 04:43 UTC |