From: Rob Dixon <[EMAIL PROTECTED]>
> Rob Coops wrote:
> >
> > *Randal wrote:*
> > *Perl doesn't have NULL. That'd be like saying "how do I make this pig
> > fly?".
> > It's a nonsense question.
> > *
> > I think this is a little to easy, perl does have a value that indicates that
> > a variable d
Rob Coops wrote:
>
> *Randal wrote:*
> *Perl doesn't have NULL. That'd be like saying "how do I make this pig
> fly?".
> It's a nonsense question.
> *
> I think this is a little to easy, perl does have a value that indicates that
> a variable does not have any set value it is called: undef
> In m
> "Rob" == Rob Coops <[EMAIL PROTECTED]> writes:
Rob> I thik the thing that Randal was saying is that 'NULL' does not exist as a
Rob> value in perl but he left out the part that others have pointed out before
Rob> 'undef' has the same significance in perl as 'NULL' in other languages.
But it
*Randal wrote:*
*Perl doesn't have NULL. That'd be like saying "how do I make this pig
fly?".
It's a nonsense question.
*
I think this is a little to easy, perl does have a value that indicates that
a variable does not have any set value it is called: undef
In many other langueages like Java, Vis
> "luke" == luke devon <[EMAIL PROTECTED]> writes:
luke> How can we define NULL values in perl ? for instance if I wanted to
luke> assign a NULL value for a variable called "$x= , how would it be in the
luke> code ?
Perl doesn't have NULL. That'd be like saying "how do I make this pig fly?".
On Jul 9, 12:44 am, [EMAIL PROTECTED] (Luke Devon) wrote:
> Hi
>
> How can we define NULL values in perl ? for instance if I wanted to assign a
> NULL value for a variable called "$x= , how would it be in the code ?
>
> Thank you
> Luke
>
> Send instant messages to your online friendshttp://uk.mes
yitzle wrote:
> On Wed, Jul 9, 2008 at 2:30 AM, Thomas Bätzler <[EMAIL PROTECTED]> wrote:
>> NULL is a SQL term. The Perl equivalent is undef, i.e.
>>
>> $x = undef;
>
> NULL is used far more widely than in just SQL; it is used in C/C++,
> Java, Visual Basic and I'm sure many many more.
But sin
On Tue, 8 Jul 2008, luke devon wrote:
Hi
How can we define NULL values in perl ? for instance if I wanted to assign a NULL
value for a variable called "$x= , how would it be in the code ?
I never had a use for NULL outside C and I have no idea why you would
want it. Still, I would guess that
On Wed, Jul 9, 2008 at 2:30 AM, Thomas Bätzler <[EMAIL PROTECTED]> wrote:
> NULL is a SQL term. The Perl equivalent is undef, i.e.
>
> $x = undef;
NULL is used far more widely than in just SQL; it is used in C/C++,
Java, Visual Basic and I'm sure many many more.
--
To unsubscribe, e-mail: [EMAIL
luke devon <[EMAIL PROTECTED]> asked:
> How can we define NULL values in perl ? for instance if I
> wanted to assign a NULL value for a variable called "$x= ,
> how would it be in the code ?
NULL is a SQL term. The Perl equivalent is undef, i.e.
$x = undef;
To check for definedness of a vari
On Wed, Jul 9, 2008 at 12:44 AM, luke devon <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can we define NULL values in perl ? for instance if I wanted to assign a
> NULL value for a variable called "$x= , how would it be in the code ?
>
> Thank you
> Luke
The closest Perl has to NULL is undef. Or maybe
Hi
How can we define NULL values in perl ? for instance if I wanted to assign a
NULL value for a variable called "$x= , how would it be in the code ?
Thank you
Luke
Send instant messages to your online friends http://uk.messenger.yahoo.com
12 matches
Mail list logo