From: Mike Taylor Date: Tue, 18 Jul 2006 13:45:36 +0000 (+0000) Subject: Towards index-preserving @conn winnowing. X-Git-Tag: CPAN-v1.02~54^2~1135 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=1c872700aed472f8411c8b4fb6fb72fdb5986097;hp=4cf681c88b58f4073dd657ed00ef50f6de9ce4da Towards index-preserving @conn winnowing. --- diff --git a/lib/ZOOM/Pod.pm b/lib/ZOOM/Pod.pm index d532b40..e338459 100644 --- a/lib/ZOOM/Pod.pm +++ b/lib/ZOOM/Pod.pm @@ -1,4 +1,4 @@ -# $Id: Pod.pm,v 1.14 2006-07-18 11:43:55 mike Exp $ +# $Id: Pod.pm,v 1.15 2006-07-18 13:45:36 mike Exp $ package ZOOM::Pod; @@ -277,8 +277,9 @@ sub wait { my $res = 0; - my @conn; - foreach my $conn (@{ $this->{conn} }) { + my(@conn, @imap); + foreach my $i (0 .. @{ $this->{conn} }-1) { + my $conn = $this->{conn}->[$i]; if (!$conn->option("pod_omit")) { push @conn, $conn; } else {