Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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 http://theoryx5.uwinnipeg.ca/ppms/ call ppm repository add Catalyst http://home.ngmedia.com/chansen/catal +yst/ppms/ call ppm install Catalyst

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483854]
help
Chatterbox?
[Corion]: A good daystart to everybody ;)
[Discipulus]: good morning Corion
[haukex]: Good morning!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-02-28 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.