From 91a66f63034cdbbfbae966c7386cf3c1b0ec0733 Mon Sep 17 00:00:00 2001 From: Difrex Date: Thu, 28 Jan 2016 17:37:11 +0300 Subject: [PATCH] fix --- II/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/II/Config.pm b/II/Config.pm index fcf5b31..d6efd5c 100644 --- a/II/Config.pm +++ b/II/Config.pm @@ -60,8 +60,8 @@ sub echo_from_list { if ( $res->is_success ) { my @e = split /\n/, $res->content(); - while (<@e>) { - my @description = split /:/, $_; + foreach my $d (@e) { + my @description = split /:/, $d; push @echoes, $description[0]; } }