aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Sub-Alias/pkg-descr
blob: 88ba8a36bd355c6dffe4178e6a816e0471ccf083 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
This module does a compile-time code injection to let you define subroutine
aliases based on its name.

This differs from p5-Sub-Name in that it defines a typeglob in a more correct
way and keeps you from manipulating the symbols table directly. You can use
the subroutine as if it was defined the ordinary way then.

This is particularly useful in the cases when you need to have several
identical subroutines with different names.

WWW: https://metacpan.org/release/Sub-Alias