Opened 3 years ago

Closed 2 years ago

#1204 closed defect (not relevant)

use lib not followed

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

Description

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 (2)

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

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