| Next | February 2001 | Slide #22 |
package main;
my $n = $self->{NAME};
If $self is reimplemented as an array, this is a fatal run-time error
If it is implemented as database-backed cache, this may fail silently
package main;
$self->{NAME} = $n;
Here the database isn't updated
Encapsulation violations are a very bad idea
Like paying extra for a car with air bags, then having them removed
| Next | ![]() |
Copyright © 2001 M-J. Dominus |