From: David Alan Black Date: 2001-11-28T22:45:27+09:00 Subject: [ruby-talk:26781] Re: BOOK: maybe an interesting one. Update: sample code for ruby available Hello -- On Wed, 28 Nov 2001, Markus Jais wrote: > hi > yesterday I posted a messeage about the upcoming > "XML Processing with Perl, Python and PHP" > which also has a chapter on Ruby > > now, I found a page where sample code is available > > goto > http://www.sybex.com/sybexbooks.nsf/Booklist/4021 > > and click on the "download" link under the image of the book > > when you untar the files > goto "ch21" > there you will find the ruby code The author doesn't seem too fond of #puts: print result,"\n" print result.type,"\n" print result.join(' '),"\n" print result[0] print result[1] print result[2] print result[3] print result[4] print result[5] print result[6] result.each { |word| print word,"\n" } :-) Still, it's good to see at least some Ruby representation. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav