| Alzabo documentation | Contained in the Alzabo distribution. |
Alzabo::Runtime::RowState::Deleted - Row objects that have been deleted
$row->delete;
This state is used for deleted rows, any row upon which the
delete() method has been called.
See Alzabo::Runtime::Row|Alzabo::Runtime::Row.
Dave Rolsky, <autarch@urth.org>
| Alzabo documentation | Contained in the Alzabo distribution. |
package Alzabo::Runtime::RowState::Deleted; use strict; use Alzabo::Runtime; BEGIN { no strict 'refs'; foreach my $meth ( qw( select select_hash refresh update delete id_as_string ) ) { *{__PACKAGE__ . "::$meth"} = sub { $_[1]->_no_such_row_error }; } } sub is_potential { 0 } sub is_live { 0 } sub is_deleted { 1 } 1; __END__