Hi Everyone,

I'm writing a program in which I want to add to the @INC array BEFORE
anything else in the program. The reason why I want to do this is because
one of the modules I want to use is located at:

p:\PERL\TimeBase\Folio\Utilities.pm

This is the code I'm using, but Perl tells me that it still can't find
Folio\Utilities.pm. Does anyone know why that isn't working? I have a
feeling it's because the "use" functions are processed before anything else
(and hence before the "push(@INC...."), but I'm not sure.
Help!

# add path to @INC
push(@INC, 'p:\PERL\TimeBase');    

# Folio utilities
use Folio::Utilities qw(
    remFolTags
    stdChars
);

Thanks,
Mk

<<attachment: winmail.dat>>

Reply via email to