http://qs1969.pair.com?node_id=1171918


in reply to Re^3: BUG: code blocks don't retain literal formatting -- could they?
in thread BUG: code blocks don't retain literal formatting -- could they?

> Quoted strings, by default, are treated a streams of 8 bit bytes. with use feature 'unicode_strings'; in effect, you can include UTF8 encoded characters in quoted strings.

That's not exactly how it works. Under use utf8;, quoted strings can already contain unicode characters:

#!/usr/bin/perl use warnings; use strict; use feature qw{ say }; use utf8; my $string = 'Pérl Mönx'; say length $string; # 9, not 11

See The "Unicode Bug" for details.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,