MIME-Version: | 1.0 |
X-Mailer: | MIME-tools 5.405 (Entity 5.404) |
Subject: | die on empty results |
Content-Type: | multipart/mixed; boundary="----------=_1015839269-30179-3" |
Content-Length: | 0 |
Content-Type: | text/plain |
Content-Disposition: | inline |
Content-Transfer-Encoding: | binary |
X-RT-Original-Encoding: | iso-8859-1 |
Content-Length: | 334 |
This seems to be broken since ages:
775c775,776
< return {%$result};
---
Show quoted text
> return ref($result) eq "HASH" ? {%$result} : undef; #{%$result};
> # return {%$result};
784c785,786
< return [@$result];
---
Show quoted text> return ref($result) eq "ARRAY" ? @$result : [];
> # return [@$result];
I suggest to create a test case for this.
\rho
Content-Type: | text/plain |
Content-Disposition: | inline |
Content-Transfer-Encoding: | binary |
X-RT-Original-Encoding: | iso-8859-1 |
Content-Length: | 0 |