develooper Front page | perl.perl6.users | Postings from October 2018

What are the official names?

Thread Next
From:
ToddAndMargo
Date:
October 2, 2018 22:06
Subject:
What are the official names?
Message ID:
1fa75f31-2dd5-c962-5588-aa70eaf100a7@zoho.com
Hi All,

What is the official Perl syntaxland name of the following line?

     multi method words(Str:D $input: $limit = Inf --> Positional)


What is the official Perl syntaxland name of the [] subroutine?
     $ p6 'my @x=[1,2,3,4]; @x[3,2,1,0].say;'
     (4 3 2 1)

     $ p6 'my @x=[1,2,3,4]; @x[2,3,0,1].say;'
     (3 4 1 2)


Many thanks,
-T

Thread Next


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