Remove all defined() on @array or %hash of LL::NG code
Hi all around there,
I'd like to propose a cleaning code for 1.3.0! It concerns the defined() perl function. As explained in the perldoc, its use is deprecated on hash and array (and may disappear in the future). Use of defined on aggregates (hashes and arrays) is deprecated. It used to report whether memory for that aggregate had ever been allocated. In fact, we also have warnings at tests time.
So, for the 1.3.0 LL::NG release, I suggest that we fix that in ALL the LL::NG code. No more stuffs like:
- if (defined(@stuff)) (will become if (@stuff))
- if (defined(%otherstuff) (will become if (%otherstuff))