Empty Hash Values

Nigel Peck nigel.peck at miswebdesign.com
Tue Apr 14 17:16:15 BST 2009


Thanks for all your responses on this. As a number of you pointed out, 
this is not when a value is undefined, but because a function is called 
in list context and returns an empty list.

Matt, thanks for the tip, scalar() is just what I need, and much better 
than concatenating an empty string.

Cheers,
Nigel



More information about the london.pm mailing list