Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.


Comment on Re: Running a ppm batch
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-11-27 01:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls