# New Ticket Created by Zefram
# Please include the string: [perl #128390]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128390 >
> my $a = slip(2,3,4)
(2 3 4)
> $a.perl
slip$(2, 3, 4)
> $a.perl.EVAL
===SORRY!=== Error while compiling /home/zefram/tmp/EVAL_0
Two terms in a row
at /home/zefram/tmp/videosubs/EVAL_0:1
------> slip^$(2, 3, 4)
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
This arises from the algorithm of prefixing "slip" to a List deparse,
another problem with which I reported in [perl #126902]. The fix that I
proposed there would kind-of fix this one: "$(2,3,4).Slip" does yield a
Slip object, but loses the Scalar aspect represented by the "$". I don't
think that difference is important in deparsing, but since List.perl goes
to the trouble of emitting the "$" in the first place, maybe I'm wrong
about that. If it's important, Slip.perl will have to handle it itself.
-zefram