Danny,

I think this is called a symbolic reference.  I'm not really sure.  I know
what to do, I just don't know what anything's called.  The ironic thing is
that I teach this stuff.

Garrett

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Danny Mallory
Sent: Friday, October 12, 2001 8:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [sambar] Perl help


Garrett,
Sorry for the late reply. This is exactly what I was looking for.
Unfortunately I could not find
this under the common documentation for its function as Interpret, Variable
Interpretation, Interpolation,
or equate that are commonly referred to this in other languages. I am not
sure what terminology Perl refers to
this as. If you know that would be great so I could read up on what
variations are available.

Thanks again,
Danny

At 10/11/2001 04:53 PM, you wrote:
>Try this:
>
>$name="danny";
>$$name = "test";
>
>
>This should do what you are asking for.
>
>Garrett
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>danny.mallory
>Sent: Thursday, October 11, 2001 11:15 AM
>To: [EMAIL PROTECTED]
>Subject: [sambar] Perl help
>
>
>I figured someone here on the list could help me answer a question. I am
>trying to do some stuff with variable interpreting. Perl has some
>documentation based on variable interpolation but this is not what I am
>looking for. Comparing to REXX I am looking for a method to interpret the
>value of a value to assign it a value. This may sound a little confusing
but
>here is how it works in rexx. Any help would be appreciated.
>
>name = "danny"
>interpret(name) = "test"
>
>Results:
>danny = "test"
>
>
>
>
>
>
>---------------------------------------------------------------------------
-
>----
>For unsubscription of this list send an email to [EMAIL PROTECTED] with
>email
>data containing unsubscribe emailadd sambar
>
>---------------------------------------------------------------------------
-----
>For unsubscription of this list send an email to [EMAIL PROTECTED] with
>email
>data containing unsubscribe emailadd sambar




----------------------------------------------------------------------------
----
For unsubscription of this list send an email to [EMAIL PROTECTED] with
email
data containing unsubscribe emailadd sambar

--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar

Reply via email to