Empty Hash Values

Chisel Wright chisel at herlpacker.co.uk
Sun Apr 12 19:08:36 BST 2009


On Sun, Apr 12, 2009 at 06:54:55PM +0100, Nigel Peck wrote:
> The only way round this I've found is to concatenate an empty string:

I tend to use:

   element_2 => ($var || undef),

Again, I'm sure there's a better way too ... it just hasn't come to me
yet.

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Stop pedanting. All nouns can be verbed.


More information about the london.pm mailing list