That doesn't change anything. Like I already said, the "requires explicit package name" errors should go away after you fix the earlier errors:

>perl -c -e"use Cos::rxi" syntax error at Cos/rxi.pm line 141, near ") {" syntax error at Cos/rxi.pm line 143, near ""IN")" syntax error at Cos/rxi.pm line 145, near ""UP")" syntax error at Cos/rxi.pm line 149, near ") {" syntax error at Cos/rxi.pm line 151, near ""IN")" syntax error at Cos/rxi.pm line 153, near ""UP")" Global symbol "$OSP1Dir" requires explicit package name at Cos/rxi.pm +line 156. Global symbol "$OSP1Dir" requires explicit package name at Cos/rxi.pm +line 156. Global symbol "$OSP1Val" requires explicit package name at Cos/rxi.pm +line 157. syntax error at Cos/rxi.pm line 157, near ") {" Cos/rxi.pm has too many errors. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

Let's explain this in the context of you trying to communicate a program to perl. Due to the earlier errors, you and perl are on different pages (as the saying goes). You think you're communicating one thing, perl thinks you're communicating another, and you end up with new problems that correct themselves when the earlier communication problem is resolved.

Note: I had to comment out use Cos::Constants; and use Cos::Dbh;, but having them is not going to affect the result. Please don't post these too.


In reply to Re^3: global symbol...explict package name by ikegami
in thread global symbol...explict package name by rightfield

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.