Q:

How do I access external perl modules from AFS package space?

A:

Perl modules that are maintained outside of the perl package must be accessed from within a perl program by a "use lib" line that indicates the directory where the module resides. This affects the below modules.

 

Table 1. Module Names and Required perl lines

AFS.pm

use lib '/afs/isis/pkg/afs/libperl';

use AFS;

Cyrus.pm

use lib '/afs/isis/pkg/cyrus_sasl/libperl';

use Authen::SASL::Cyrus;

Krb4.pm

use lib '/afs/isis/pkg/krb4/libperl';

use Authen::Krb4;

Krb5.pm

use lib '/afs/isis/pkg/heimdal/libperl';

use Authen::Krb5;

Mysql.pm

use lib '/afs/isis/pkg/mysql/libperl';

use Mysql;

mysql.pm

use lib '/afs/isis/pkg/mysql/libperl';

use DBD::mysql;

Oracle.pm

use lib '/afs/isis/pkg/oracle/libperl';

use DBD::Oracle;

Oraperl.pm

use lib '/afs/isis/pkg/oracle/libperl';

use Oraperl;

Security.pm

use lib '/afs/isis/pkg/cyrus_sasl/libperl';

use Authen::SASL::Cyrus::Security;

 

Copyright 2002-2007 The University of North Carolina at Chapel Hill.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.

Post a Comment

This form is for document feedback. If you need technical assistance, and are affiliated with UNC-Chapel Hill, please Submit a Help Request
Optional
Optional
So that we may contact you.
Do not fill out this form, this is a spam trap.
Top
University of North Carolina - Chapel Hill