Function Signatures

Learn about experimental function signatures in Perl.

Perl 5.20 added built-in function signatures as an experimental feature. Experimental means that they may change or even go away in future releases of Perl, so we need to enable them to signal that we accept the possibility of rewriting code:

use experimental 'signatures';

With that disclaimer in place, we can now write:

Get hands-on with 1400+ tech skills courses.