develooper Front page | perl.beginners | Postings from May 2019

Re: are signatures still experimental?

Thread Previous
From:
hwilmer
Date:
May 10, 2019 16:55
Subject:
Re: are signatures still experimental?
Message ID:
8c13d961-cbb7-0331-e83b-212f20220d90@gc-24.de
On 5/9/19 12:55 PM, Илья Рассадин wrote:
> Hi!
> 
> Yes, they are
> 
> Try this snippet
> perl -E 'use feature 'signatures'; use warnings; my $a = sub ($b,$c) { 
> return $b + $c; }'
> 
> You can find current status for your perl with `perldoc feature` command 
> and then find signatures section.
> 
> I expected attempts to make them stable from 5.30 version but looks like 
> perl core team focused on different things. So signatures are still in 
> 5.26 state.

Thank you very much for this great answer! :)

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About