Well, looking at the source for Storable (2.07) on cpan, it seems to me that Log::Agent is optional, as is evidenced by the following code taken from Storable.pm:

# # Use of Log::Agent is optional # eval "use Log::Agent";

So either you're using a different version of Storable, in which Log::Agent is required (I find that hard to believe), or there's a bug in Storable, or something else is going on. Can you provide some sample code, and perhaps actual error messages that you're getting, something more informative than 'it keeps giving fatal errors because it can't find Log::Agent'?

I hope you can get Storable to work for you, since it's a great module, but as a fall-back plan, you could try storing your Hash of Arrays using Data::Dumper itself, printing the dump to a file, then evaling it back in...

--
3dan

In reply to Re: Can't Use Storable on OS X? by edan
in thread Can't Use Storable on OS X? by Cody Pendant

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.