Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: variable name

by japhy (Canon)
on Jul 22, 2006 at 13:43 UTC ( #563011=note: print w/replies, xml ) Need Help??


in reply to variable name

The bigger question is not "how can I do this?" or "why can't I do this in Perl if I can do it in Ruby?" -- the question is, "why do I need to do it?" Answer that first.

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

Replies are listed 'Best First'.
Re^2: variable name
by jdporter (Chancellor) on Jul 22, 2006 at 15:25 UTC

    Yup — sounds like an XY Problem.

    We're building the house of the future together.
Re^2: variable name
by sh1tn (Priest) on Jul 23, 2006 at 11:50 UTC
    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.


      "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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://563011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-05-18 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (70 votes). Check out past polls.

    Notices?