NAME
MooX::Private::Attribute - private attributes
VERSION
Version 1.03
SYNOPSIS
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
SUBROUTINES/METHODS
import
call import method.
$obj->import()
AUTHOR
LNATION, <email at lnation.org>
BUGS
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.
SUPPORT
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
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2020-2021 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)