aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-mem/pkg-descr
blob: 2f0fc0d512b9ff62bcc817031b8b5bbc8b136241 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
mem is a trivial pragma to either allow defining the module it is included from
as being defined so that later classes or packages in the same file can use the
package to pull in a reference to it, or to be able to call its import routine
from a different package in the same file.

With parameter assignments or other actions, it forces those assignments to be
done, immediately, at compile time instead of later at run time. It can be use,
for example, with Exporter, to export typed-sub's among other usages.

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