Re: postderef with subroutines

2017-05-11 Thread Shawn H Corey
On Thu, 11 May 2017 13:10:03 +0200 Luca Ferrari wrote: > Hi all, > according to the documentation the postderef for code blocks $ref->&* > and $ref->() have different meanings > > > While I can use the following: > > my $sub_ref

postderef with subroutines

2017-05-11 Thread Luca Ferrari
Hi all, according to the documentation the postderef for code blocks $ref->&* and $ref->() have different meanings While I can use the following: my $sub_ref = sub { say "Hello world: @_ !" }; $sub_ref->( 'and the camels go' ); &{