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


Book HomeMastering Perl/TkSearch this book

4.22. Invoking the Button

Theinvoke method invokes the subroutine to which the -command option points. Once you use -command to assign the callback, whenever you need to perform that same task, you can use invoke:

$button->invoke( );


Library Navigation Links

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