Posted on 2008-06-11 21:28:05-07 by fergal in response to 8058
Re: Comparing undef and empty string

You might also try doing the unless defined for $d2 instead of/as well as $d1. Otherwise, you'll have to wait until I have time to look at this properly - it's not something that Test::Deep supports out of the box but it is something that I would like it to support.

Direct Responses: 8076 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.