P is for Practical | |
PerlMonks |
'tie' in a module, but having trouble fetchingby hiseldl (Priest) |
on May 28, 2003 at 04:13 UTC ( [id://261205]=perlquestion: print w/replies, xml ) | Need Help?? |
hiseldl has asked for the wisdom of the Perl Monks concerning the following question: I'm writing a module using DB_File. The data seems to get saved to the file 'test.db' but fetching or Data::Dumper() the file doesn't seem to dump the data. Here's what I have so far:
...and here is the test script to add an entry: ...and here is the code that dumps the seemingly empty data file: The 'test.db' file seems to have data in it because when I run it through the command 'strings' all the values seem to be there. Any suggestions? (besides go to bed and try agian tomorrow? ;-) Cheers! --
Back to
Seekers of Perl Wisdom
|
|