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=e8a8e998248f770cf45b5e7381208b4ae3773c3c;p=infobot.git strict git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@719 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Zippy.pl b/src/Modules/Zippy.pl index 73f4d63..b608fb9 100644 --- a/src/Modules/Zippy.pl +++ b/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 :-)