FreeHAL
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
AI/FreeHAL/Config.pm view on Meta::CPAN
}
*{$caller.'::'.$opt_ref->{read_config}} = \&AI::FreeHAL::Config::Hash::read_config;
*{$caller.'::'.$opt_ref->{write_config}} = \&AI::FreeHAL::Config::Hash::write_config;
}
package AI::FreeHAL::Config::Gap;
use AI::FreeHAL::Class;
### [caller 0]
{
sub serialize { return "\n" }
sub update {}
sub extend {}
sub copy_to {}
}
package AI::FreeHAL::Config::Comment;
use AI::FreeHAL::Class;
{
my %text_of : ATTR( :init_arg<text> );
sub serialize {
my ($self) = @_;
return $text_of{ident $self};
}
sub append_comment {
my ($self, $new_text) = @_;
$text_of{ident $self} .= $new_text;
}
sub update {}
sub extend {}
sub copy_to {}
}
package AI::FreeHAL::Config::Keyval;
use AI::FreeHAL::Class;
{
my %key_of : ATTR( :init_arg<key> :get<key> );
my %vals_of : ATTR;
my %deleted_of : ATTR;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.557 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )