From 7ad726b3838a8fb197f195cf61b419854cb3939d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 22 Jan 2015 06:41:55 -0800 Subject: [PATCH] Ensure $last_output is defined --- modules/compiler_vm/languages/_default.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/compiler_vm/languages/_default.pm b/modules/compiler_vm/languages/_default.pm index 93079913..8721d1eb 100755 --- a/modules/compiler_vm/languages/_default.pm +++ b/modules/compiler_vm/languages/_default.pm @@ -140,7 +140,7 @@ sub show_output { } close FILE; - if($last_output eq $output) { + if(defined $last_output and $last_output eq $output) { print "$self->{nick}: Same output.\n"; exit 0; }