For those not familiar (I wasn't), Sprite provides an SQL interface to databases with an arbitrary text delimiter. Seemingly much like DBD::RAM. First, DBD::RAM is solidly two years more recent, uses the excellent DBI interface, and has a much greater user following (which can answer your questions more easily). So, take a look at DBD::RAM if you're doing something large.

I tried looking at the sample script you're using, but the URL is invalid. I'm sort of flying blind with your question, then, since you haven't told us what error you're receiving. It sounds like your scripts aren't able to find the module you're looking for, which would likely make it an install problem. In that case, how did you install the module? Many modules won't work straight out if you just download them and copy .pm's into a lib directory; you actually need to run the installer. Oftentimes this will be handled automatically for you by CPAN.pm: install -MCPAN -e 'install SomeModule'. If CPAN doesn't know about the module, you can try downloading the .tar.gz yourself, unpacking, and following the install directions.

A side not which shouldn't be breaking your script: you should be using use instead of require in modern scripts; it lets the compiler check on the module before runtime to make sure everything is in order. Also, in your shebang line pass the -w parameter to the perl interpreter to enable the warnings pragma; that may give you valuable insight into what's going on.

I'm not sure I answered your question, but feel free to come back with error messages, more specific quesitons, etc. for more help.

P.S. Whoa! Just reread your question: what do mean by "I don't have access to Perl5.003"? You do have a perl interpreter, right? No module or script will work without Perl installed. Using an earlier version than that is extremely dangerous with CGI scripts as the interpreters have known security flaws. Have a good heart-to-heart with your administrator if that's the case.


In reply to Re: Sprite Module Call by athomason
in thread Sprite Module Call by Anonymous Monk

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.