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.
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.