NAME

clown - Subroutine attribute for compile-time subroutine sanity checks.

SYNOPSIS

use base 'clown';
use clown 'all';

sub handler :clown ($r) {
  foo(); # will die at compile time if foo does not exist
...

import() Options

use clown 'debug';   # warns about 'method_named' op tweaks
use clown 'deparse'; # additionally warns with the B::Deparse output
use clown 'dump';    # warns with the $op->dump during the tree walk
use clown 'disabled';# disables all CV tweaks
use clown 'all';     # enables :Sealed on all subs
use clown;           # disables all warnings

BUGS

You cannot use any other form of global variables within a :clown sub, since this module assumes every global within is a subroutine name.

LICENSE

Apache License 2.0