Slaven Rezić > accessors-related-0.00_50 > accessors::related

Download:
accessors-related-0.00_50.tar.gz

Dependencies

Annotate this POD

Module Version: 0.00_50   Source  

NAME ^

accessors::related - weak accessors

SYNOPSIS ^

    use accessors::related qw(foo bar);

    $obj->foo(...);
    $obj->bar(...);

DESCRIPTION ^

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.

AUTHOR ^

Slaven Rezic

COPYRIGHT & LICENSE ^

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.

SEE ALSO ^

accessors, Scalar::Util.

syntax highlighting: