Help for this page

Select Code to Download


  1. or download this
         That should be pretty clear. Look at the new test now. Use the th
    +rows_ok  
         test from Test::Exception to test the Carp::croak(). Using Test::
    +Most  
    ...
             throws_ok { $person->full_name }
                 qr/^Both first and last names must be set/,
                 '... and full_name() should croak() if the either name is
    + not set';