Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Running a ppm batch

by Corion (Pope)
on Aug 15, 2005 at 13:49 UTC ( #483854=note: print w/replies, xml ) Need Help??

in reply to Running a ppm batch / bat file

There is a peculiar difference between batch files and shell scripts, namely that a batch file will completetly transfer the execution to any other batch file called by it, much like exec does for shell scripts. The way to prevent this is the CALL keyword in batch files:

@echo off call ppm install Module::Build call ppm repository add Theoryx5 call ppm repository add Catalyst +yst/ppms/ call ppm install Catalyst

The above code should work. Of course, you could consider ditching ppm and installing via, but that might require a C compiler for the nastier parts.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483854]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2018-03-18 11:32 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.