in reply to Re^6: Puzzled by ppm
in thread Puzzled by ppm

Hm. I managed to re-create your scenario (I used 'fred' rather than 'user').

Create a directory below perl:

C:\Perl64>md fred

Set perl5lib to point at it:

C:\Perl64>set PERL5LIB=c:\perl64\fred

Issue the area init command:

C:\Perl64>ppm area init fred Syncing fred PPM database with .packlists...done

And there it is initialised:

C:\Perl64>dir fred\* 03/03/2012 04:53 <DIR> . 03/03/2012 04:53 <DIR> .. 03/03/2012 04:53 <DIR> etc
C:\Perl64>ppm area list
┌───────┬──────┬────────────────────┐
│ name  │ pkgs │ lib                │
├───────┼──────┼────────────────────┤
│ fred  │    0 │ c:/perl64/fred     │
│ site* │  256 │ C:/Perl64/site/lib │
│ perl  │  207 │ C:/Perl64/lib      │
└───────┴──────┴────────────────────┘

So then I tried to remove it, but there is no area delete command, so, first I wiped out the directory:

C:\Perl64>rd /q /s fred

And tried area list:

C:\Perl64>ppm area list
┌────────┬──────┬────────────────────┐
│ name   │ pkgs │ lib                │
├────────┼──────┼────────────────────┤
│ (fred) │  n/a │ c:/perl64/fred     │
│ site*  │  256 │ C:/Perl64/site/lib │
│ perl   │  207 │ C:/Perl64/lib      │
└────────┴──────┴────────────────────┘

And there it was, I had recreated your symptoms. So now how to get rid of it? The first thing I tried was to delete the PERL5LIB var:

C:\Perl64>set PERL5LIB=

And there it was all gone away:

C:\Perl64>ppm area list
┌───────┬──────┬────────────────────┐
│ name  │ pkgs │ lib                │
├───────┼──────┼────────────────────┤
│ site* │  256 │ C:/Perl64/site/lib │
│ perl  │  207 │ C:/Perl64/lib      │
└───────┴──────┴────────────────────┘

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?