There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

mypragma - an example of a user pragma

SYNOPSIS

In your code

use mypragma; # Enable the pragma

mypragma::in_effect() # returns true; pragma is enabled

no mypragma;

mypragma::in_effect() # returns false; pragma is not enabled

DESCRIPTION

An example of how to write a pragma.

AUTHOR

Rafael Garcia-Suarez