Skip Menu |

This queue is for tickets about the Data-Table CPAN distribution.

Report information
The Basics
Id: 78741
Status: resolved
Priority: 0/
Queue: Data-Table

People
Owner: Nobody in particular
Requestors: ra4720 [...] freescale.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.58
Fixed in: (no value)



Subject: Add option to join() $argRef toallow NULLs to be considered equal
We are upgrading Data::Table from v1.54 to 1.67, so we are catching up on all the enhancements. In v1.58 the join() function was patched to no longer consider two NULL keys to be equal. With the update to v1.67, much of our code has been broken due to the patch. I acknowledge that this is a reasonable patch, so I am not asking you to "unpatch" the code. Instead, I was wondering if we could take advantage of the new $argRef variable to allow a user to set an option (i.e. allowNullJoin or considerNullEqual) that would allow the old behavior where two NULL values can be considered equal. In this way we do not change the current behavior of the module but we allow developers to add the appropriate $argRef to turn the pre-v1.58 behavior back on. I appreciate your consideration on this matter.
Fixed in 1.68. Provide options for {matchNULL => 1, NULLasEmpty => 1}