I am writing a database app for my photo library (of about 2500 pics). I have been (so far) using a flat file to store the data. Every time the script is accessed, I load the database and build an array of hashes.
Then, when I save the data, I break everything back down into a character delimited text file.
While PerlMonks was out of commission, I broke down and bought a book (Perl Black Book). It mentioned the Storable module. I loaded it from CPAN. I cannot get it to work. I am running it on a Win2000 server. I am not certain if it is something I am doing wrong.
If I leave in the references to Autoloader, I get errors that it cannot locate autosplit.ix. If I remove the references to Autoloader(as other modules have instructed for Win environments), I get an error: Can't locate object for module Storable in @INC at line so-and-so in my script.
I am unfamiliar with this error and have run out of ideas. I am fairly new to Perl, so I imagine that this is a simple error on my part, but I'm flummoxed just the same.
Any ideas/suggestions would be GREATLY appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.