June 2002
Beginner
759 pages
80h 42m
English
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};