=head1 VERSION
-Version 0.26
+Version 0.27
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.26';
+ $VERSION = '0.27';
}
=head1 SYNOPSIS
C<$_[2]> is the current key in C<copy>, C<fetch>, C<store>, C<exists> and C<delete> callbacks, although for C<copy> it may just be a copy of the actual key so it's useless to (for example) cast magic on it.
C<copy> magic also receives the current element (i.e. the value) in C<$_[3]>.
+All the callbacks are expected to return an integer, which is passed straight to the perl magic API.
+However, only the return value of the C<len> callback currently holds a meaning.
+
=back
# A simple scalar tracer
If you define a wizard with a C<free> callback and cast it on itself, this destructor won't be called because the wizard will be destroyed first.
+Using C<get> and C<clear> magics on hashes may cause segfaults.
+
=head1 DEPENDENCIES
L<perl> 5.7.3.
=head1 COPYRIGHT & LICENSE
-Copyright 2007-2008 Vincent Pit, all rights reserved.
+Copyright 2007-2009 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.