From: "Peña, Botp" Date: 2007-10-19T18:55:19+09:00 Subject: Re: the level of Ruby programmers vs PHP's From: Shuaib Zahda [mailto:shuaib.zahda@gmail.com] # hopefully this helps. Sorry I am not php expert # and ruby neither. no problem, i'm not an expert, ever.. how about, > arr = [10, "text", 10.78] => [10, "text", 10.78] > pd=proc{|d| "#{d} is #{eval(d).inspect}"} => # > pd.call("arr") => "arr is [10, \"text\", 10.78]" > pd.call("arr<<999") => "arr<<999 is [10, \"text\", 10.78, 999]" but the main question is: "there can be many arr arrays, which one?" I think a debugger is better suited. kind regards -botp