|
NAMEVenus::Sealed - Sealed Class ABSTRACTSealed Class for Perl 5 SYNOPSIS package main;
use Venus::Sealed;
my $sealed = Venus::Sealed->new('012345');
# $sealed->get;
# '012345'
DESCRIPTIONThis package provides a mechanism for sealing object and restricting and/or preventing access to the underlying data structures. This package can be used directly but is meant to be subclassed. INTEGRATESThis package integrates behaviors from: Venus::Role::Buildable Venus::Role::Catchable Venus::Role::Proxyable Venus::Role::Throwable Venus::Role::Tryable METHODSThis package provides the following methods: getget(any @args) (any) The get method can be used directly to get the sealed value set during instantiation, but is meant to be overridden in a subclass to further control access to the underlying data. Since 3.55
setset(any @args) (any) The set method can be used directly to set the sealed value set during instantiation, but is meant to be overridden in a subclass to further control access to the underlying data. Since 3.55
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|