RE: the ref() function: what does it mean when ...

2003-12-28 Thread Shawn McKinley
> -Original Message- > From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 24, 2003 3:50 PM > To: [EMAIL PROTECTED] > Subject: Re: the ref() function: what does it mean when ... > > > >>>>> "Wiggins"

Re: the ref() function: what does it mean when ...

2003-12-28 Thread Wiggins d'Anconia
Randal L. Schwartz wrote: "Wiggins" == Wiggins D Anconia <[EMAIL PROTECTED]> writes: Wiggins> Out of curiousity, why/when *in Perl* would you take a reference to Wiggins> something that holds a reference? And, "how deep does the well go?" Wiggins> (how far will Perl take the above indirection?).

Re: the ref() function: what does it mean when ...

2003-12-24 Thread Randal L. Schwartz
> "Wiggins" == Wiggins D Anconia <[EMAIL PROTECTED]> writes: Wiggins> Out of curiousity, why/when *in Perl* would you take a reference to Wiggins> something that holds a reference? And, "how deep does the well go?" Wiggins> (how far will Perl take the above indirection?)... I suppose I could

Re: the ref() function: what does it mean when ...

2003-12-24 Thread drieux
On Dec 24, 2003, at 12:05 PM, Wiggins d Anconia wrote: [..] Out of curiousity, why/when *in Perl* would you take a reference to something that holds a reference? Good question, let me know if you find a gooder answer. But clearly the fact that it can detect that a given scalar is a reference to a r

Re: the ref() function: what does it mean when ...

2003-12-24 Thread Wiggins d Anconia
> > On Dec 24, 2003, at 11:24 AM, [EMAIL PROTECTED] wrote: > [..] > > However, I have not seen this documented; could someone please (1) > > confirm or refute this (2) clarify if necessary and (3) point me to > > the relevant documentation. (The perlfunc page for ref() just lists > > possibl

Re: the ref() function: what does it mean when ...

2003-12-24 Thread drieux
On Dec 24, 2003, at 11:24 AM, [EMAIL PROTECTED] wrote: [..] However, I have not seen this documented; could someone please (1) confirm or refute this (2) clarify if necessary and (3) point me to the relevant documentation.  (The perlfunc page for ref() just lists possible return values, and not

the ref() function: what does it mean when ...

2003-12-24 Thread mcdavis941
Hi list, This question has to do with the ref() built-in function and its return values.   I see that one possible return value is 'REF', which I am inferring to mean that the argument given to ref() is a reference to a scalar which is itself a reference.  However, I have not seen this documen