Re: NULL and undef

From: Michael A Chase (mchase_at_ix.netcom.com)
Date: 01/14/04


Date: Tue, 13 Jan 2004 17:50:27 -0800 (PST)
To: mickalo@frontiernet.net, DBI List <dbi-users@perl.org>

On Tue, 13 Jan 2004 14:46:36 -0600 Mike Blezien
<mickalo@frontiernet.net> wrote:

> quick question on NULL values and Perl's undef. If one wants to pass
> a 'NULL' in a placeholder, is that the equivalent to 'undef' and
> visa-versa... if a 'NULL' value is returned, is that same as 'undef'

Yes and yes. It says so in several places in the fine DBI manual.
Search for either NULL or undef.

   http://search.cpan.org/dist/DBI/DBI.pm

   http://dev.isystek.com/dbi/fom-serve/cache/49.html

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.