Perl6 Object Oriented Cookbook (v0.2.1)  
Section 9: Assertions and Invariants  
 
Recipe 9.14: Altering the Active 'Assertion Threshold' for Assertion
Last Updated: Sep 8, 2003
Status: Draft
      Previous Page   Next Page

How important is this problem to you?
  (Login to Vote)
5.00 Rating, 1 Vote  

How acceptable is the proposed solution?
  (Login to Vote)
0.00 Rating, 0 Votes  

Problem:  

You want to raise or lower the active assertion threshold, thereby controlling which optional assertions will be performed at runtime.

Solution:  

Discussion:

(compiletime vs. runtime: if you turn it off at compiletime, you can't turn it back on at runtime?)


Log In to Comment


Login / Edit User Info -- Copyright © 2002 Cognitivity -- Previous Page   Next Page