Which is the preferred way?

I see that “p” is the same as “puts”. Which would
most programs use in a program?

Jeff

···

____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

Jeffrey Bowen wrote:

I see that “p” is the same as “puts”. Which would
most programs use in a program?

It's not the same - p foo is equivalent to puts foo.inspect. They're used for different things; p is for debugging output, puts for general text display.

···

--
Alex