Ok, I read through that information and went with Solution #2. I changed my require()'s to state the full path. However, I get a function call undefined in a requirement from the file that was originally at issue. So, as it states in the Solution #2 state the full path. So I repeated that again in the file that is being require()d.
Fine and dandy...however, when I try to run the program, I get the same error message. I have checked other files that I am require()ing, and updated those to use the full paths.
I even went as far as putting the problematic require() in a BEGIN block also, and still got the same error.
Has anybody else try to adapt function libraries primarily used with CGI (not mod_perl) and CLI programming? Are/Did these sort of things cause this much trouble for you also?
Thanks again...
Matt
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.