Skip to main content

Functions Signaturen Compared - Perl6, Perl5.20 and Sub::Sig

by Rolf Langsdorf (‎LanX‎) (Darmstadt.pm)

Functions Signaturen Compared - Perl6, Perl5.20 and Sub::Sig aimed at Any and is held in Deutsch. This talk starts on 2017-06-27 at 15:30 for 40 minutes. It takes place at the Hamburg.pm.

Abstract der Einfachheit halber schon auf Englisch.

---------------------------------------------------------------

The missing subroutine signatures in Perl - i.e. the ability to define the sub's arguments directly after the name - are a matter of discussions for many years already

Perl 6 provides a model and Perl 5.20 introduced one experimental feature to do so.

We will give an overview of the features and compare a third approach called called Sub::Sig.

Discussed topics are

- positional parameters
- named parameters
- type constraints
- free constraints
- performance
- backwards compatibility
- life introspection
- Documentation and POD generation
- IDE Support


Tags: language_extension subroutine_signatures

Interest in attending: