Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Sprite Module Callby athomason (Curate) |
on Aug 15, 2000 at 22:25 UTC ( [id://27983]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|