You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Perl 6, you can use <> slice to decont an Array:
sub foo { $[1, 2] }; dd foo()<>; # OUTPUT: [1, 2]
But the same doesn't happen with Inline::Perl5::Array:
use Unicode::Collate:from<Perl5>;
my$az= [~] 'Əski dövr adlandırılan birinci dövr XIII əsrdən XVIII əsrə qədər ',
'olan dövrü, yeni adlandırıla bilən ikinci dövr isə XVIII əsrdən yaşadığımız ',
'günlərə qədər olan bir dövrü əhatə edir. Əski Azərbaycan dilində söz ',
'birləşmələrinin quruluşu daha çox ərəb və fars dillərinin sintaktik ',
'modelində olmuşdur: fəsli-gül (gül fəsli), tərki-təriqi-eşq (eşq təriqinin ',
'(yolunun) tərki), daxili-əhli-kamal (kamal əhlinə daxil)…';
my$c= Unicode::Collate.new::normalization(Str), :1level, entry =>q:to/ENTRY/;
0131;[.1CAD.0020.0002.0069]0259;[.1C25.0020.0002.0065]018F;[.1C25.0020.0008.0045]ENTRYfor <adlandirilan Azerbaycan cox dovru ehate Eski gul qurulusu teriqinin yasadigimiz> {
dd$c.index($az, $^user_input);
}
In Perl 6, you can use
<>slice to decont an Array:But the same doesn't happen with Inline::Perl5::Array:
OUTPUT:
The text was updated successfully, but these errors were encountered: