david nicol wrote: > > > > I wonder how much work would be involved in optmizing > > ($dest = $source) =~ m/$regex/; > > to imply > > { > my $tmp = $source; > $tmp =~ m/$regex/; > $dest = $tmp > } > > when $dest is tied. In the general case, we don't know at compile time that $dest is tied, so I don't see exactly what kind of optimization you want to see here.Thread Previous