No no, I was happy with all three answers about dropping the 0. In fact, it was a testing situation that led me to post this question, but I am okay with my current Test::More solution, which winds up along the lines of
......code.....
ok($keyword_density >= $min_keyword_density,"Keyword density " . sprin
+tf("%2d%%",$keyword_density*100) . ", minimum " . sprintf("%2d%%",$mi
+n_keyword_density*100) );
This seems elegant enough for me, but as always I welcome suggestions. | [reply] [d/l] |
| [reply] [d/l] [select] |