This is the revision history for signatures in <matrix.org:#DYJOMClZbVOMHnzPQt:matrix.org>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
16177 | signatures | is | Perl has built-in function signatures, letting you do: sub foo($bar, $baz, $quux) { if ($bar eq "boo!") { ... } else { ... } return $quux}; Use them by doing: use feature 'signatures'; or use v5.34; for earlier versions (5.20 to 5.32) you will also want: no warnings 'experimental::signatures'; For more advanced capabilities try https://metacpan.org/pod/Function::Parameters | simcop2387 | <*:##NULL> |
12280 | signatures | is | use experimental qw(signatures); or use Function::Parameters qw(:strict); | b0at | <*:##NULL> |