2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

55_GDS.pm: support Coro::LWP for nonblocking requests

git-svn-id: https://svn.fhem.de/fhem/trunk@8080 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-02-24 14:36:53 +00:00
parent 4207dac703
commit 86c5eea7df

View File

@ -31,6 +31,8 @@ use warnings;
use feature qw/say switch/; use feature qw/say switch/;
use Time::HiRes qw(gettimeofday); use Time::HiRes qw(gettimeofday);
use Text::CSV; use Text::CSV;
eval {use Coro::LWP;};
Log 1,"GDS: using Coro::LWP" unless @$;
use Net::FTP; use Net::FTP;
use List::MoreUtils 'first_index'; use List::MoreUtils 'first_index';
use XML::Simple; use XML::Simple;