From: timriker Date: Thu, 5 Dec 2002 04:47:44 +0000 (+0000) Subject: strict X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cb60765a84bbf94434c82da10c73c2d5b27939e9;p=infobot.git strict git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@719 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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 :-)