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


It makes sense to allow e.g. C<$P0 = add $P1, $P2> as alternative
syntax for C<add $P0, $P1, $P2>.  However, when the first parameter is
"inout" rather than "out", assignment syntax is *not* appropriate.

For example, C<substr $P0, 1, 2, "x"> actually modifies $P0 rather
than just assigning to it, so C<$P0 = substr 1, 2, "x"> is just wrong,
and should be a compile-time error.
-- 
Chip Salzenberg <[EMAIL PROTECTED]>

Reply via email to