Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^5: uninstalling modules

by gellyfish (Monsignor)
on Jul 21, 2004 at 13:08 UTC ( [id://376233]=note: print w/replies, xml ) Need Help??

in reply to Re^4: uninstalling modules
in thread uninstalling modules

You have to watch the order the things go on the @dirs because it does my $archlib = @dirs[-1]; after the paths have been munged. I only did that for convenience and not special case it at that point.

But the script looks like it should work fine.


Replies are listed 'Best First'.
Re^6: uninstalling modules
by CassJ (Sexton) on Jul 21, 2004 at 13:46 UTC
    arse. didn't see that, so
    -my $archlib = @dirs[-1] +my $archlib = @dirs[1];
    if I'm unshifting rather than pushing?


      @dirs[0] If it is the first one on the array


        eep. confused now. Which one is it supposed to be? sitearchexp or archlibexp? I was going for archlibexp - is this wrong?

        Thanks again


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-05-26 17:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found