Moin, On Tuesday 14 March 2006 10:53, Smylers wrote: > Dr Bean writes: > > I've gotten comfortable with Test::More conventions, but it's > > difficult in my editor to really quickly create lots of tests. > > Which editor is that? > > > is($o->index('You'), 1, 'objects index 1'); > > isnt($o->index(1), 1, 'objects index 2'); > > isnt($o->index(2), 2, 'objects index 2'); > > is($o->index($t), 3, 'objects index 3'); > > > > Incrementing numbers and substituting words and letters takes > > time > > If your editor happens to be Vim then be aware that Ctrl+A adds 1 to > the number currently under the cursor, or the next number on the > current line if the cursor isn't on a number.
Wow. Thanx! (And I have used vim for years...) Best wishes, Tels -- Signed on Wed Mar 15 17:33:10 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "I'm not a vegetarian, but I eat animals who are" -- Groucho Marx
pgpG4IHYBH6Tl.pgp
Description: PGP signature