[sf-perl] cgi question

Quinn Weaver quinn at pgexperts.com
Fri Feb 8 11:49:33 PST 2013

On Feb 8, 2013, at 11:45 AM, Francisco Obispo wrote:

> If JSON::XS is not in @INC, but you know exactly where it is, just include:
> use lib '/path/to/lib';

That works, but it's better to put /path/to in your PERL5LIB by changing
your webserver config. That way you don't have to put 'use lib' statements
in every script you write. DRY.


Quinn Weaver
PostgreSQL Experts, Inc.
1-888-743-9778 (my extension: 510)

More information about the SanFrancisco-pm mailing list