mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
1c61db05db
This class module binds one or more subroutines of your devising to a Perl variable. All variables can have FETCH, STORE and DESTROY callbacks. Additionally, arrays can define CLEAR, DELETE, EXISTS, EXTEND, FETCHSIZE, POP, PUSH, SHIFT, SPLICE, STORESIZE and UNSHIFT callbacks, and hashes can define CLEAR, DELETE, EXISTS, FIRSTKEY and NEXTKEY callbacks. With Tie::Watch you can: * alter a variable's value * prevent a variable's value from being changed * invoke a Perl/Tk callback when a variable changes * trace references to a variable WWW: http://search.cpan.org/dist/Tie-Watch/ Author: Steve Lidie <sol0@Lehigh.EDU> Justification: x11-toolkits/p5-Tk-JComboBox dep, sysutils/namefix recursive dep
15 lines
623 B
Plaintext
15 lines
623 B
Plaintext
This class module binds one or more subroutines of your devising to a Perl
|
|
variable. All variables can have FETCH, STORE and DESTROY callbacks.
|
|
Additionally, arrays can define CLEAR, DELETE, EXISTS, EXTEND, FETCHSIZE,
|
|
POP, PUSH, SHIFT, SPLICE, STORESIZE and UNSHIFT callbacks, and hashes can
|
|
define CLEAR, DELETE, EXISTS, FIRSTKEY and NEXTKEY callbacks.
|
|
|
|
With Tie::Watch you can:
|
|
* alter a variable's value
|
|
* prevent a variable's value from being changed
|
|
* invoke a Perl/Tk callback when a variable changes
|
|
* trace references to a variable
|
|
|
|
WWW: http://search.cpan.org/dist/Tie-Watch/
|
|
Author: Steve Lidie <sol0@Lehigh.EDU>
|