home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeMastering Perl/TkSearch this book

8.18. Internal Debug Flag

The debug function takes an optional Boolean argument:

$text->debug( [ boolean ] );

If the value passed in is true, internal consistency checks will be turned on in the B-tree code associated with Text widgets. If false, the checks will be left off. Without any argument, the debug method will return the value "on" if it has been turned on and "off" if not. All text widgets in the application share the same debug flag.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.