in reply to Modules on Windows/IIS

you can at the top add the following line near the beginning:

 use lib "directory_to_pm";

or

my $directory_name = "directory_to_pm"; push @INC, $directory_name;

-ENLIL

Replies are listed 'Best First'.
Re2: Modules on Windows/IIS
by blakem (Monsignor) on Oct 01, 2002 at 06:26 UTC
    Which of the following lines do you think will be executed first?
    my $directory_name = "directory_to_pm"; push @INC, $directory_name; use MyModule;

    -Blake