[rrd-users] Re: Fail at " use RRDs;" in cgi script in IIS

Mark Goldfinch mark.goldfinch at staff.paradise.net.nz
Tue Jan 9 00:54:23 MET 2001



On Mon, 8 Jan 2001, Leo Le wrote:

> use lib qw(c:\\rrd107\\arch\\auto\\RRDs c:\\rrd107\\lib);
> #use lib qw(c:\\rrd1028\\perl-shared\\blib\\arch\\auto\\RRDs
> c:\\Perl\\bin c:\\Perl\\site\\lib\\auto\\RRDs
> c:\\rrd1028\\perl-shared\\blib\\lib);
> use strict;
> use CGI qw(:standard);
> use RRDs;

You may have better luck if you leave the brace open on the use lib
statement:

-----
use lib qw(c:\\rrd107\\arch\\auto\\RRDs c:\\rrd107\\lib c:\\Perl\\bin c:\\Perl\\site\\lib\\auto\\RRDs c:\\rrd1028\\perl-shared\\blib\\lib);

use strict;
use CGI qw(:standard);
use RRDs;
-----

> How can I modify the @INC ?

'use lib' modifies @INC.

I don't know the specifics of IIS but check to see where stuff printed to
STDERR is placed, if its anything like Apache you'll have an error-log
floating about with all your script errors.


Best Regards,

---
Mark Goldfinch


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list