@districts = qw/ elldev elldev2 icedev prodev /;

$app = "M:\\Path\\app.exe ";

foreach $dist ( @districts ) {
    print $app, $dist,"\n";  # modifying this to a system call like 
system( $app, $dist );
}

I am going to change the print statement above with a system one so that 
$app will run with the @districts one after another. What I would like to do 
is add a print statement before each one runs like:

NOW UPDATING ELLDEV...

NOW UPDATING ELLDEV2...

etc. for each district...

How would I go about that?

Robert 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to