$val        =    undef;         #undef is more like a value here.

undef ($objRS);             #undef is more of a function here
undef(%hash);             #and here too

-- Rex

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "nafiseh saberi" <[EMAIL PROTECTED]>
Cc: "perl" <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 5:58 AM
Subject: Re: undef function


> undef is not really a function ... delete is ...
> undef is (although many might disagree with me) more like a value not
unlike
> 1,2 or 'cowabunga' that just says there is no value (hope this makes
sense)
>
> but when u set a hash to undef it effectively deletes the hash from
existance
> ... (again i might be wrong about this one)
>
> On Tue, Oct 23, 2001 at 10:39:50AM +0330, nafiseh saberi shaped the
electrons to read:
> >
> >
> > hi all...
> > I read about "undef" a lot
> > but..
> > I dont understand the difference between "undef" and "delete".. ?
> > and why do we use undef...
> > thx
> > __________________________________
> > Best regards     .........     Nafiseh Saberi
> >     Iran               .........
> >     notes             .........
> >        Pray for Afghans people.
> >        Clothes , dont make the man.
> >           www.iraninfocenter.net
> >                www.sorna.net
> > ___________________________________
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to