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 57f648b18e
commit 900ed97a66

View File

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