Subject: | use vars 'VERSION' pragma wrong? |
Tried on:
- Linux 2.4.18, Debian 'woody', perl v5.6.1 built for i386-linux.
- Linux 2.2.20, Debian 'woody/sid'-mix, perl v5.8.0 built for i386-linux-thread-multi.
- Installed via CPAN-Shell without problems.
- The Error:
perl -MOODoc
==> 'VERSION' is not a valid variable name at /usr/local/share/perl/5.6.1/OODoc/Object.pm line 3
IMHO it should be
use vars '$VERSION';
with the Dollarsign, but I get more other errors if I try to fix that. So maybe all that is another, more general problem.