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

Re^6: Puzzled by ppm

by roho (Chancellor)
on Mar 03, 2012 at 04:39 UTC ( #957598=note: print w/replies, xml ) Need Help??

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

Thanks for the link. I tried the steps outlined in the response, but it did not help. I'm considering updating the affected modules in \Perl\lib to the version in \Perl\site\lib, however I think that future updates would also have to be applied to \Perl\lib manually to keep it in sync with \Perl\site\lib (something that would be almost as aggravating as the problem I now have).

"Its not how hard you work, its how much you get done."

Replies are listed 'Best First'.
Re^7: Puzzled by ppm
by BrowserUk (Pope) on Mar 03, 2012 at 05:04 UTC

    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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-01-21 00:09 GMT
Find Nodes?
    Voting Booth?