http://www.perlmonks.org?node_id=401033


in reply to Odd behavior with DBM::Deep

Well, now we're getting somewhere. Checkout this oddity:
$ppm query DBM-deep Querying target 1 (ActivePerl 5.8.4.810) 1. DBM-Deep [0.94] A pure perl multi-level hash/array DBM
But...
$perl -MDBM::Deep -e" print $DBM::Deep::VERSION" 0.93
Furthermore...
$ppm upgrade DBM-Deep DBM-Deep 0.94: up to date.
and the gory details...

ppm> remove DBM-Deep

==================== Remove 'DBM-Deep' version 0.94 from ActivePerl 5.8.4.810. ==================== unlink C:\Perl\html\site\lib\DBM\Deep.html unlink C:\Perl\site\lib\DBM\Deep.pm unlink C:\Perl\site\lib\auto\DBM\Deep\.packlist Successfully removed DBM-Deep version 0.94 from ActivePerl 5.8.4.810.
ppm> q DBM-Deep
Querying target 1 (ActivePerl 5.8.4.810) No matches for 'DBM-Deep'; see 'help query'.
ppm> s DBM-Deep
Searching in Active Repositories 1. DBM-Deep [0.94] A pure perl multi-level hash/array DBM 2. DBM-Deep [0.94] A pure perl multi-level hash/array DBM
ppm> d 1
==================== Package 1: Name: DBM-Deep Version: 0.94 Author: Joseph Huckaby (jhuckaby@cpan.org) Title: DBM-Deep Abstract: A pure perl multi-level hash/array DBM Location: ActiveState PPM2 Repository Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ====================
ppm> d 2
==================== Package 2: Name: DBM-Deep Version: 0.94 Author: Joseph Huckaby (jhuckaby@cpan.org) Title: DBM-Deep Abstract: A pure perl multi-level hash/array DBM Location: ActiveState Package Repository Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ====================
ppm> i 1
Package 1: ==================== Install 'DBM-Deep' version 0.94 in ActivePerl 5.8.4.810. ==================== Downloaded 38895 bytes. Extracting 5/5: blib/arch/auto/DBM/Deep/.exists Installing C:\Perl\html\site\lib\DBM\Deep.html Installing C:\Perl\site\lib\DBM\Deep.pm Successfully installed DBM-Deep version 0.94 in ActivePerl 5.8.4.810.
$perl -MDBM::Deep -e" print $DBM::Deep::VERSION"
0.93

The second package listed reports as being v0.93 once installed as well. Time to file a bug with ActiveState.

-Nitrox

Replies are listed 'Best First'.
Re^2: Odd behavior with DBM::Deep
by Anonymous Monk on Oct 21, 2004 at 10:14 UTC