[perl] @INC
Gunnar Wolf
gwolf@campus.iztacala.unam.mx
Mon, 8 May 2000 12:04:27 -0500 (CDT)
> hola,
> como puedo añadir una path a la variable @INC
@INC = (@INC,"/opt/modulitos/perl");
o
$INC[$#INC+1] = "/opt/modulitos/perl";
o
push(@INC,"/opt/modulitos/perl");
O sea, lo puedes tratar como un arreglo cualquiera.
-------------------------------------------------------------------
Gunnar Wolf gwolf@campus.iztacala.unam.mx
Universidad Nacional Autónoma de México, Campus Iztacala
Jefatura de Sección de Desarrollo y Admon. de Sistemas en Red
Area de Seguridad en Computo - DCI - DGSCA - UNAM
-------------------------------------------------------------------
Beginner thinks 1Kb == 1000 bytes. Master knows 1Km == 1024m
--------- Pie de mensaje --------------------------------
Visite: http://tlali.iztacala.unam.mx/~randrade/perl.shtml
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text : unsubscribe perl
--------- Pie de mensaje --------------------------------
Visite: http://tlali.iztacala.unam.mx/~randrade/perl.shtml
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text : unsubscribe perl