aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-routines/pkg-descr
blob: b1f736074313a345509bdfdcd8a43e6ecb08d438 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
The routines pragma is used to provide typeable method and function signtures to
the calling package, as well as before, after, around, augment and override
method modifiers.

The registry pragma is used to associate the calling package with Type::Tiny
type libraries. A $registry variable is made available to the caller to be used
to access registry objects. The variable is a callback (i.e. coderef) which
should be called with a single argument, the namespace whose registry object you
want, otherwise the argument defaults to main.

WWW: https://metacpan.org/release/routines