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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |