In MacPerl 5.6.1, I'm trying to use the standard module
Mac::OSA::Simple. The simple line
use Mac::OSA::Simple;
gives me a compilation error:
# Global symbol "$REVISION" requires explicit package name
File ...:lib:Mac:OSA:Simple.pm; Line 20
# BEGIN not safe after errors-- compilation aborted.
Argh! Doesn't anybody test anything any more? Am I really the first one
to notice this?
Simply adding "$REVISION" on line 5 of the module, in the "use vars"
statement, fixes it, but *this sucks*.
And Chris (Nandor), I understand you do a *lot* for MacPerl, so I can't
actually blame you if something like this slips through. Still, IMO,
some automatic test should have caught this.
--
Bart.