oblikon has asked for the wisdom of the Perl Monks concerning the following question:
I'd appreciate any help you could give,open(IMAPSYNCOUTPUT,"$imapsynccommand|"); open(LOGFILE,">>$imapsynclog"); my $num = 1; while (<IMAPSYNCOUTPUT>) { print LOGFILE "$_"; if ($num == 1) { print "."; $num++; } elsif ($num < 10) { $num++; } else { $num = 1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Progress indicator during a filehandle while
by FunkyMonk (Bishop) on Aug 29, 2007 at 18:05 UTC | |
by ikegami (Patriarch) on Aug 29, 2007 at 19:05 UTC | |
|
Re: Progress indicator during a filehandle while
by duckyd (Hermit) on Aug 29, 2007 at 22:24 UTC | |
|
Re: Progress indicator during a filehandle while
by agianni (Hermit) on Aug 29, 2007 at 18:34 UTC | |
|
Re: Progress indicator during a filehandle while
by oblikon (Initiate) on Aug 29, 2007 at 19:30 UTC |