develooper Front page | perl.perl6.language | Postings from October 2001

Re: A3, the ';' operator, and hyper-operators

Thread Previous | Thread Next
From:
Jeremy Howard
Date:
October 3, 2001 20:34
Subject:
Re: A3, the ';' operator, and hyper-operators
Message ID:
007b01c14c85$8673ec70$0a00a8c0@optimaldecisions.com
> Imagine:
> 
> @strings ^=~ s/pattern/replacement/;
> 
> @refs = ^\ @list;
> 
> @objects^.method();
> 
> @values^++;
> 
Both text-processing and number-crunching examples are here:
  http://dev.perl.org/rfc/82.html#EXAMPLES

Adding the '^' before each operator is left as an exercise for the reader.



Thread Previous | 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