Alex Copot wrote:

> And something like print_r to display an array.

Try p(obj) for debug output. You can also do this:

require 'yaml'; y(obj)

-- 
http://flgr.0x42.net/