From: Yukihiro Matsumoto Date: 2005-06-07T16:50:58+09:00 Subject: Re: $VERBOSE breaks code? Hi, In message "Re: $VERBOSE breaks code?" on Mon, 30 May 2005 18:05:24 +0900, "Zev Blut" writes: |> irb(main):001:0> $VERBOSE=1 |> => 1 |> irb(main):002:0> "%s" % ["abc", "def"] |> ArgumentError: too many arguments for format string |> from (irb):2:in `%' |> from (irb):2 |> |> Should $VERBOSE really break code? Perhaps this should be rb_warn? |> (sprintf.c:778) | |Was there any resolution to this issue? I ask, because my colleagues and |I just encountered this same problem. I looked into the CVS history, but |did not find anything related to this. Ryan's opinion (and yours) is reasonable. I will fix so that -d will raise ArgumentError exception. -v/-w will warn. (CVS HEAD) Thank you. matz.