Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modules on A Hosted Server 1

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I am working on a script for a client and their ISP will not install a particular module I require.
Do all modules have to be installed in the root of the server or is it possible to call them within my client's CGI-BIN?

Keith
 
Best CGI debugging tool available is to add [tt]use CGI::Carp 'fatalsToBrowser';[/tt] just after the shebang, it should even catch errors from use-ing modules after it.

A quick RPM search for your host landed me here. Your host may have the ImageMagick suite/libraries installed, but maybe not the Perl module that interfaces with it.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
Let's get the dumb question out of the way first.
What does RPM stand for?

Code:
Acronym search 
Raised Pavement Marker [placed on new roadways prior to permanent striping to delineate individual lanes] 
[b]Remote Process Management[/b]
Removable Peripheral Module 
Resales Price Maintenance 
Retail Price Maintenance [Business practice whereby a manufacturer requires the distributors/retailers of his product to resell at certain prices. Supported by statute in some countries.]  
Revenue Passenger Miles [traffic measure in aviation industry] 
Revolutions Per Minute 
Revolutions Per Minute 
Rotations Per Minute
[/b]

Still basic questions but moving on.
I see the files but what next, upload them to the server, if so which versions?
Sorry if the questions are a bit basic but I am in unfamiliar territory and would prefer not to crash the server or get my knuckles rapped for trying.

Keith
 
In RedHat, it RedHat's Package Manager, it may have a more generic name nowadays, but AFAIK, that's where it came from

Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Yeah, it's a common linux package, which is essentially a zip file that knows a little about itself. From windows, you can use any of the fancier archive programs (eg 7-Zip) to extract it just as you would a zip file. Those extracted files are the ones you should upload. Generally, there's a lot of additional path information in the rpm that needs to be stripped out, too, for perl to find the modules.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top