From cb60765a84bbf94434c82da10c73c2d5b27939e9 Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 5 Dec 2002 04:47:44 +0000 Subject: [PATCH] strict git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@719 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/Zippy.pl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/blootbot/src/Modules/Zippy.pl b/blootbot/src/Modules/Zippy.pl index 73f4d63..b608fb9 100644 --- a/blootbot/src/Modules/Zippy.pl +++ b/blootbot/src/Modules/Zippy.pl @@ -12,12 +12,11 @@ use strict; my $no_zippy; # Can't think of any situation in which this won't work.. sub zippy::get { - unless (@yows) { # read data unless it's been read already. - print "Reading...\n"; - while () { - chomp; - push @yows, $_; - } + my @yows; + print "Reading...\n"; + while () { + chomp; + push @yows, $_; } if ($no_zippy) { # ..but just in case :-) -- 2.39.5