[perl] @INC
Salvador Ortiz Garcia
sog@msg.com.mx
Mon, 8 May 2000 13:05:51 -0500 (CDT)
On Mon, 8 May 2000, Erick Antezana San Roman wrote:
> hola,
> como puedo aņadir una path a la variable @INC
La manera "oficial" es usando el pragma 'lib':
lib(3) User Contributed Perl Documentation lib(3)
NAME
lib - manipulate @INC at compile time
SYNOPSIS
use lib LIST;
no lib LIST;
DESCRIPTION
This is a small simple module which simplifies the
manipulation of @INC at compile time.
It is typically used to add extra directories to perl's
search path so that later use or require statements will
find modules which are not located on perl's default
search path.
...
Saludos
Salvador Ortiz
--------- Pie de mensaje --------------------------------
Visite: http://tlali.iztacala.unam.mx/~randrade/perl.shtml
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text : unsubscribe perl