Ingy döt Net > Mo-0.31 > Mo::is

Download:
Mo-0.31.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.31   Source   Latest Release: Mo-0.38

Name ^

Mo::is - Adds the is feature to Mo's has

Synopsis ^

    use Mo qw'is';
    has name => ( is => 'ro' );

Description ^

Adds the is parameter to has. If you set it to ro, the accessor will only work as a getter. You will still able to set the value at construction time via new.

syntax highlighting: