David Wheeler <[EMAIL PROTECTED]> writes: > On Monday, November 11, 2002, at 02:32 PM, Joseph F. Ryan wrote: > >> -Things that are currently unimplemented in P6C are in the TODO >> folder, per >> David Wheeler's suggestion. > > That's not actually what I meant. You use TODO blocks in your test > scripts, like this: > > TODO: { > local $TODO = "Not yet implemented"; > ok( foo(), $test_name ); > is( foo(42), 23, $test_name ); > }; > > perldoc Test::More for more information.
You don't actually have to name the block though. Just assign a temporary value to TODO. -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?