Main
back: OO in Perl -3 next: Tk - a button
|
- Ties can be hidden behind scalars, arrays, hashes, file-handles.
- They translate access to the variable into calls to a hidden object.
- It is easy to create a db later behind a hash, without changing the
rest of your program more than a few lines.
- In Tk, ties are used to change the value on a Label/Entry on the moment
a var changes. We'll see more on that.
|