https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6888
--- Comment #3 from Kevin A. McGrail <[email protected]> --- (In reply to comment #2) > > removed the () prototype on sub init_lwp > > Removed the prototype on sub dec2hex > > Thanks. > > > lib/Mail/SpamAssassin/BayesStore/Redis.pm"' > > Moved my $VERSION = 0.09; to below use Strict; > > The $VERSION should not be a lexically scoped ( declared by my() ). > > Try: > $ cd lib/Mail/SpamAssassin/BayesStore > $ perl -le 'use Redis; print Mail::SpamAssassin::BayesStore::Redis->VERSION' > [prints nothing] > > Changing declarations & assignments to @ISA and $VERSION to: > > use vars qw( @ISA $VERSION ); > BEGIN { > $VERSION = 0.09; > @ISA = qw( Mail::SpamAssassin::BayesStore ); > } > > yields: > $ perl -le 'use Redis; print Mail::SpamAssassin::BayesStore::Redis->VERSION' > 0.09 OK, svn commit -m 'Switch to handling of Version in redis.pm - bug 6888' lib/Mail/SpamAssassin/BayesStore/Redis.pm Sending lib/Mail/SpamAssassin/BayesStore/Redis.pm Transmitting file data . Committed revision 1432188. More like what you wanted? -- You are receiving this mail because: You are the assignee for the bug.
