in reply to Re: variable name
in thread variable name

The bigger question is not to make policy when some technology cannot do sm.th.. If you can(or cannot) do sm.th. just let me know, without "why so and so ..." propaganda.


Replies are listed 'Best First'.
Re^3: variable name
by japhy (Canon) on Jul 23, 2006 at 13:48 UTC
    "Propaganda"? I really don't know what you're trying to accomplish. You want to know if you can get the name of a lexical FROM the lexical. While it IS possible, it's a very rare task, and one which begs the question "why". Perhaps you're doing something that you should just be using a hash for. And, so what if Ruby can do it? What benefit is this ability going to get you? Yes, it's possible, but no, you probably shouldn't use it.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart