in reply to Re: Global symbol x requires explicit package name at main.pl
in thread Global symbol x requires explicit package name at main.pl

actually, in the beginning, I used our, it just reports the same error.
  • Comment on Re^2: Global symbol x requires explicit package name at main.pl

Replies are listed 'Best First'.
Re^3: Global symbol x requires explicit package name at main.pl
by toolic (Bishop) on Aug 19, 2010 at 00:48 UTC
    That would have been nice to know up front. What else did you try that you haven't told us?

    What OS are you on? Windows?

    perl -v

    I misdiagnosed the problem. See my update. However, my advice still holds.

      actually, I am not sure, I am testing it on a server... and uname reports linux... and I've also tried other package names... still the same problem... thanks alot anyways.