# New Ticket Created by  Zefram 
# Please include the string:  [perl #128978]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128978 >


> my $a = 3; my $c = \($a); $c.perl
\(3)

The fact that the argument in the Capture is mutable is a rather
important aspect of the Capture, and the .perl isn't representing it.
It's showing code for a quite different Capture of an immutable argument.
This is less than awesome.  Obviously .perl can't be expected to preserve
the specific identity of the mutable argument, but it could at least
preserve the fact that it's mutable, by emitting something like `\(my $
= 3)` in place of `\(3)`.

-zefram

Reply via email to