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

Re: Using the modules I want to use.

by JupiterCrash (Monk)
on Nov 02, 2002 at 16:33 UTC ( #209965=note: print w/replies, xml ) Need Help??

in reply to Using the modules I want to use.

I've found it helpful that the 'use' command accepts a version number. If the module in my cgi-bin is newer than the one in the system's perl library directory, something like this might help you to know. This is good if you might not want your cgi-bin path to be FIRST in the @INC, but just *in* the @INC :
use DBI 1.20;

Replies are listed 'Best First'.
Re: Re: Using the modules I want to use.
by cal (Beadle) on Nov 02, 2002 at 18:25 UTC
    Thanks, When I use this use GD 1.27; I get Internal Server Error. [Sat Nov  2 13:22:10 2002] [error] [client] Premature end of script headers: /u/web/dom/cgi-local/whichversion.cgi
      I'd guess that whicversion.cgi is sending output without an http header. If that's right then you need either
      use CGI qw/:standard/; print header;
      or just
      print "Content-type: text/html\n\n";
      before any print commands in your script, which will allow the output from the script to appear in the browser window.

      George Sherston

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://209965]
[holli]: the fricking beast will only eat dry food
[holli]: nothing else, not even minced meat or fish
[Discipulus]: see you nuns and monks!
[KurtZ]: mice?
[Discipulus]: your cat is dryarian holli
[holli]: not even remotely KurtZ. i did find feathers in the garden a few times though
[holli]: yet no body
[virtualsue]: I was called upon to remove a gnawed mouse carcass from the living room this morning
holli googles dryarian just to make sure that isn't actually thing

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-11-21 12:44 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (300 votes). Check out past polls.