I'm experimenting now with CGI::Builder framework.
Even though
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
But when I run perl -wc on the script seeking this module, I still get an error reading:
Can't locate DistroPrsRls_cbf.pm in @INC (@INC contains: '/home/hesco/
+sandbox/DistroPrsRls/lib' (etc.)
I'm baffled. Why can't my library be found?
Updated to reflect no change given
inclusion of strict, warnings and diagnostics
The script doing the calling reads:
#!/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;
-- Hugh
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.