in reply to Re: How to refer to a scalar variable dynamically?
in thread How to refer to a scalar variable dynamically?

But we will have %MY won't we?

-Lee

"To be civilized is to deny one's nature."
  • Comment on Re: Re: How to refer to a scalar variable dynamically?

Replies are listed 'Best First'.
Re: Re: Re: How to refer to a scalar variable dynamically?
by Elian (Parson) on Apr 16, 2003 at 20:47 UTC
    Sure, but that still won't make simple symbolic dereferencing work with lexicals...
      No it wouldn't, but wouldn't you be able to accomplish the same thing? Meaning use a variables name to get it's value.

      -Lee

      "To be civilized is to deny one's nature."
        While the end result, being able to get the value of a lexical if you have its name, is the same, the syntax and intent is rather different. (Heck, you can get the values from lexicals by name now, if you don't mind dropping to C either directly or indirectly) TMTOWTDI and all, but walking %MY isn't really the same as a plain symbolic reference...