Subroutines are declared using one of these forms:
subname
{block
} subname
(proto
) {block
}
Prototypes allow you to put constraints on the arguments you provide to your subroutines.
You can also create anonymous subroutines at runtime, which will be available for use through a reference:
$subref
= sub {block
};
3.139.103.204