MooX::Private::Attribute - private attributes
Version 1.02
package Lays; use Moo; use MooX::Private::Attribute; has size => ( is => 'ro', private => 1 ); has flavour => ( is => 'ro', private => 1 ); sub bag { return { size => $_[0]->size, flavour => $_[0]->flavour } } .... my $salt = Lays->new( size => q|οικογένεια|, flavour => q|τυρί & κρεμμύδι| ); $salt->bag # works $salt->size # errors $salt->flavour # errors
call import method.
$obj->import()
LNATION, <email at lnation.org>
<email at lnation.org>
Please report any bugs or feature requests to bug-moox::private::attribute at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Private-Attribute. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-moox::private::attribute at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc MooX::Private::Attribute
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Private-Attribute
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/MooX-Private-Attribute
CPAN Ratings
https://cpanratings.perl.org/d/MooX-Private-Attribute
Search CPAN
https://metacpan.org/release/MooX-Private-Attribute
This software is Copyright (c) 2020-2021 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install MooX::Private::Attribute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooX::Private::Attribute
CPAN shell
perl -MCPAN -e shell install MooX::Private::Attribute
For more information on module installation, please visit the detailed CPAN module installation guide.