"rtilley" <rtilley / vt.edu> wrote in message news:dv9h29$agf$1 / solaris.cc.vt.edu... >I like the way in which p prints out the contents of an array. It's easy >for me to read. Is it possible to make a method return p array? Or is >there a better way to do this? > > def info > #create an array > p array > return p array > end This won't work because p returns nil. Do this def info create_array_somehow.inspect end Kind regards robert