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
