in reply to Re^2: i need help in subroutines
in thread i need help in subroutines
The @INC array is for storing directories in which Perl looks for your modules. If you have a file UvaModule.pm in the directory D:\uva\code\, then you can load it with:
use lib 'D:/uva/code/'; use UvaModule;
Read the lib documentation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: i need help in subroutines
by uva (Sexton) on Feb 07, 2006 at 12:37 UTC | |
by Corion (Patriarch) on Feb 07, 2006 at 12:43 UTC | |
by uva (Sexton) on Feb 07, 2006 at 12:55 UTC | |
by atcroft (Abbot) on Feb 07, 2006 at 13:14 UTC |