
accessors::related - weak accessors

use accessors::related qw(foo bar);
$obj->foo(...);
$obj->bar(...);

The accessors::related pragma lets you create accessors which are suitable for non-possesing relationships. Or, technically, accessors, which are automatically marked as weak references.
This is useful to avoid circular references and thus possible memory leaks.

Slaven Rezic

Copyright 2008 Slaven Rezic, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
