BÁRTHÁZI András wrote:
Hi,
This code:
my $a='A'; $a ~~ s:perl5:g/A/{chr(65535)}/; say $a.bytes;
Outputs "0". Why?
Bye, Andras
\uFFFF is not a legal unicode codepoint. chr(65535) should raise an exception of some type. So the above code does seem show a possible bug. But as that chr(65535) is an undefined char, who knows what the code is acually doing.
-- [EMAIL PROTECTED] [EMAIL PROTECTED]