Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Can you find the name of a variable?

by afoken (Monsignor)
on Nov 14, 2009 at 10:57 UTC ( #807126=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    sub blah
    blah(foo => 42, bar => "don't forget this", baz => 'oh!');
    blah(foo => 42, baz => 'oh!'); # <-- will die()
  2. or download this
    print nameThatVariable($foo); # '$foo', of course.
    print nameThatVariable(do { my $tmp=23 }); # '$tmp'?
    print nameThatVariable([ 23,45 ]); # ?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://807126]
[PriNet]: ok, i'm stumped... how do you split a string in javascript when the string was joined with chr(255) in perl ? string.split( String.fromCharCod e(255)); does not work... (help)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2017-03-24 04:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (295 votes). Check out past polls.