Skip Menu |
Report information
Id: 132040
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: bri [at] abrij.org
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [LTA] Pointless to P5-warn on % sigil interpolation which Perl5 does not do
Download (untitled) / with headers
text/plain 642b
Since Perl5 does not interpolate %-sigiled variables in quotes, it is kind of pointless to warn on use of Perl5 symbolic variables when they are being considered for interpolation by a qlang. $ perl -e 'print "%+ "' %+ $ perl6 -e 'print "%+ "' ===SORRY!=== Error while compiling -e Unsupported use of %+ variable; in Perl 6 please use .to method at -e:1 ------> print "%+⏏ " Better behavior is to just use it literally as we do with, e.g.: $ perl6 -e 'print "%= "' %= (This ticket addresses a side-issue raised by a bunch of auto-generated RTs from S32-str/sprintf-b.t, so we don't lose that information while cleaning the tests up.)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org