Ticket #1204 (closed defect: not relevant)

Opened 3 years ago

Last modified 2 years ago

use lib not followed

Reported by: Lady_Aleena Owned by:
Priority: major Milestone:
Component: Syntax Checking Version: 0.84
Keywords: Cc:


I have a lot of modules in my own lib, so I use lib to direct perl to them. However, I get Compilation failed in require, BEGIN failed -- compilation aborted. Well, if it had just followed the use lib, it wouldn't be that way.

Change History

comment:1 Changed 3 years ago by Lady_Aleena

use strict;
use warnings;

use lib "..";
use MyModuleInLib;

The lib will not be found in @INC. That is a problem because I use a lot of home rolled modules.

Last edited 3 years ago by Lady_Aleena (previous) (diff)

comment:2 Changed 2 years ago by bowtie

  • Status changed from new to closed
  • Resolution set to not relevant
Note: See TracTickets for help on using tickets.