Seventh has asked for the wisdom of the Perl Monks concerning the following question:
if ($read) { my $cvsfilecount = 0; print ("\nCCRUtil: Reading configuration\n\n"); my $fh2 = new IO::File("<ccrConfig.cfg"); return unless($fh2); my @state2 = <$fh2>; foreach my $f (@state2) { chomp($f); dprint( "Checking out project file: $f\n"); `cvs co $f`; $cvsfilecount++ } print "\nCCRUtil complete: $cvsfilecount files added from CVS.\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question regarding input file / script termination
by holli (Abbot) on Feb 02, 2005 at 17:05 UTC |