develooper Front page | perl.perl5.porters | Postings from October 2017

Re: announcing a new op, OP_MULTICONCAT

Thread Previous | Thread Next
Dave Mitchell
October 25, 2017 22:23
Re: announcing a new op, OP_MULTICONCAT
Message ID:
On Wed, Oct 25, 2017 at 03:40:15PM -0000, Father Chrysostomos wrote:
> Dave Mitchell wrote:
> > * It's very good at handling the LHS appearing on the RHS; for example in
> > 
> >     $x = "abcd";
> >     $x = "-$x-$x-";
> If FETCH on a tied $x returns different values each time, does it con-
> tinue to behave the same way as currently?

Yes - if a RHS arg is tied, it calls FETCH() for each appearance, and
makes a separate mortal copy of each result.

Fire extinguisher (n) a device for holding open fire doors.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About