hesco has asked for the wisdom of the Perl Monks concerning the following question:
Even though
But when I run perl -wc on the script seeking this module, I still get an error reading:hesco@marcus2:~$ ls /home/hesco/sandbox/DistroPrsRls/lib/DistroPrsRls_ +cbf.pm -alht -rwxr-xr-x 1 hesco hesco 48K 2006-02-12 08:44 /home/hesco/sandbox/Dist +roPrsRls/lib/DistroPrsRls_cbf.pm
I'm baffled. Why can't my library be found?Can't locate DistroPrsRls_cbf.pm in @INC (@INC contains: '/home/hesco/ +sandbox/DistroPrsRls/lib' (etc.)
Updated to reflect no change given
inclusion of strict, warnings and diagnostics
The script doing the calling reads:
-- Hugh#!/usr/bin/perl -w use strict; use warnings; use diagnostics; use lib(qw{'/home/hesco/sandbox/DistroPrsRls/lib'}); use DistroPrsRls_cbf; my $dpr = DistroPrsRls_cbf->new(); $dpr->process(); exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Baffled by missing library
by brian_d_foy (Abbot) on Feb 12, 2006 at 17:36 UTC | |
by hesco (Deacon) on Feb 12, 2006 at 17:41 UTC | |
|
Re: Baffled by missing library
by john_oshea (Priest) on Feb 12, 2006 at 17:40 UTC |