NAME

Data::Object::Signatures

ABSTRACT

Data-Object Signatures Configuration

SYNOPSIS

use Data::Object::Signatures;

fun hello (Str $name) {
  return "Hello $name, how are you?";
}

around created() {
  # do something ...
  return $self->$orig;
}

around updated() {
  # do something ...
  return $self->$orig;
}

DESCRIPTION

This package is provides method and function signatures supporting all the type constraints provided by Data::Object::Library.

FUNCTIONS

This package implements the following functions.

aftr_settings

aftr_settings(Str $arg1, Object $arg2) : (Str, HashRef)

The aftr_settings function returns the after-keyword configuration.

aftr_settings example
my $aftr_settings = aftr_settings();

arnd_settings

arnd_settings(Str $arg1, Object $arg2) : (Str, HashRef)

The arnd_settings function returns the around-keyword configuration.

arnd_settings example
my $arnd_settings = arnd_settings();

befr_settings

befr_settings(Str $arg1, Object $arg2) : (Str, HashRef)

The befr_settings function returns the before-keyword configuration.

befr_settings example
my $befr_settings = befr_settings();

func_settings

func_settings(Str $arg1, Object $arg2) : (Str, HashRef)

The func_settings function returns the fun-keyword configuration.

func_settings example
my $func_settings = func_settings();

meth_settings

meth_settings(Str $arg1, Object $arg2) : (Str, HashRef)

The meth_settings function returns the method-keyword configuration.

meth_settings example
my $meth_settings = meth_settings();

settings

settings(Str $arg1, Any @args) : HashRef

The settings function returns the settings for Function::Parameters configuration.

settings example
my $settings = settings();

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

STATUS

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures

Contributing

GitHub