Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Sprite Module Call

by athomason (Curate)
on Aug 15, 2000 at 22:25 UTC ( [id://27983]=note: print w/replies, xml ) Need Help??


in reply to Sprite Module Call

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://27983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found