On Sat, Sep 20, 2003 at 06:00:21AM +0900, Xavier wrote:A pretty good article, though:> Thought you'd like to know about this article
> This links to the printable version, much easier to read.
1. It would be nice if it mentioned optp, which is a little
cleaner than getoptlong for what the author is doing.
2. Using "while line = gets do" is just as clean as "while gets", but
doesn't require the use of $_. I suspect the author came from a
3. I wish he'd mentioned the option of using #!/usr/bin/env ruby
instead of #!/usr/local/bin/ruby.