Other possibility:
if (keys %resp) { [download]
In reply to Re: return a hash or undef by jethro in thread return a hash or undef by odrevet