Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: Puzzled by ppm

by BrowserUk (Patriarch)
on Mar 03, 2012 at 05:04 UTC ( [id://957602]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957602]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-28 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found