<div dir="ltr">Thank you.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 1:42 PM Mark Senn <<a href="mailto:mark@purdue.edu">mark@purdue.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am _guessing_ that these might be relevant:<br>
<br>
>From <a href="https://perldoc.perl.org/perlre.html#Script-Runs" rel="noreferrer" target="_blank">https://perldoc.perl.org/perlre.html#Script-Runs</a><br>
A script run is basically a sequence of characters, all from the same<br>
Unicode script (see Scripts in perlunicode), such as Latin or Greek. In<br>
most places a single word would never be written in multiple scripts,<br>
unless it is a spoofing attack. An infamous example, is<br>
<a href="http://paypal.com" rel="noreferrer" target="_blank">paypal.com</a><br>
Those letters could all be Latin (as in the example just above), or they<br>
could be all Cyrillic (except for the dot), or they could be a mixture<br>
of the two. In the case of an internet address the .com would be in<br>
Latin, And any Cyrillic ones would cause it to be a mixture, not a<br>
script run. Someone clicking on such a link would not be directed to the<br>
real Paypal website, but an attacker would craft a look-alike one to<br>
attempt to gather sensitive information from the person.<br>
<br>
>From <a href="https://perldoc.perl.org/perlrecharclass.html" rel="noreferrer" target="_blank">https://perldoc.perl.org/perlrecharclass.html</a><br>
For example, \p{Alpha} matches not just the ASCII alphabetic characters,<br>
but any character in the entire Unicode character set considered<br>
alphabetic.<br>
<br>
(I continue to like Raku (formerly known as Perl 6) better than Perl 5.)<br>
<br>
-mark<br>
<br>
Dave Jacoby <<a href="mailto:jacoby.david@gmail.com" target="_blank">jacoby.david@gmail.com</a>> wrote on 2020-01-27 at 17:56+00:<br>
| <a href="https://www.effectiveperlprogramming.com/2020/01/perl-v5-32-new-features/" rel="noreferrer" target="_blank">https://www.effectiveperlprogramming.com/2020/01/perl-v5-32-new-features/</a><br>
| <br>
| And brian d foy says:<br>
| <br>
| * The new isa infix operator (“class instance”)<br>
| * The streamzip program comes with IO::Compress::Base, so it comes with<br>
| perl<br>
| * Script runs are no longer experimental<br>
| * Alpha assertions are no longer experimental<br>
| * Mixed mode access to undef uses a temporary file<br>
| * "0" .. "-1" is fixed<br>
| * Modifiable contexts in constants now throw an exception<br>
| <br>
| isa is a thing that is used in OOP. I think current use is something like<br>
| isa( $lafayette, 'Location' ) to shoehorn types into a language that didn't<br>
| want them, and this simply means we can do if ( $lafayette isa 'Location' )<br>
| { ... } , which looks nicer.<br>
| <br>
| If you have a modern perl, you can ls *pl | streamzip > file.zip or<br>
| something. I've not had reason to want that, but sure.<br>
| <br>
| I do not understand what Script runs are, and I don't see them in the<br>
| "experimental" pod. No do I understand what Alpha assertions are.<br>
| <br>
| Similarly, "Mixed mode access to undef uses a temporary file" is a sentence<br>
| where I can understand each individual word, and mostly what two adjacent<br>
| words mean together, but that sentence as a whole is word salad.<br>
| <br>
| I don't know what was broken about "0" .. "-1", but I can guess. .. is a<br>
| range operator, and 0 .. 1 would give [0,1], but if you want [-1,0], you<br>
| should do reverse [ -1..0 ] because the range operator doesn't do<br>
| descending values. But, as Gizmo showed when we were discussing "29 Palms",<br>
| you can iterate through character values, and so I would GUESS that "0" ..<br>
| "-1" would give a large array. Maybe? Testing.<br>
| <br>
| Ah. It gives you the same result as 0..99. At least in 5.30.<br>
| <br>
| "Modifiable contexts in constants now throw an exception". I can't remember<br>
| using constants in Perl. but I think this means this: if $val is a constant<br>
| reference to an array, that array can change, but I can't point to another<br>
| array in $val, so now, the following code should announce itself as<br>
| problematic.<br>
| <br>
| use constant ARRAY => [1,2,3,4];<br>
| push ARRAY, 5;<br>
| <br>
| I believe I have been clear in my lack of understanding of some parts of<br>
| this. The 5.31 deltas seem to point to differences between 5.31.x and<br>
| 5.31.y, not 5.30 and 5.31 and what will become 5.32, so we'll know more<br>
| later.<br>
| <br>
| -- <br>
| Dave Jacoby<br>
| <a href="mailto:jacoby.david@gmail.com" target="_blank">jacoby.david@gmail.com</a><br>
| <br>
| I deal with my software the way I treat my eldritch abomination:<br>
| It's not human, it's not even alive in the natural sense.<br>
| It's nightmare-born and nightmare-shaped, and nightmares don't die easy.<br>
| -- @yenzie<br>
| _______________________________________________<br>
| Purdue-pm mailing list<br>
| <a href="mailto:Purdue-pm@pm.org" target="_blank">Purdue-pm@pm.org</a><br>
| <a href="https://mail.pm.org/mailman/listinfo/purdue-pm" rel="noreferrer" target="_blank">https://mail.pm.org/mailman/listinfo/purdue-pm</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Dave Jacoby<br>
<a href="mailto:jacoby.david@gmail.com" target="_blank">jacoby.david@gmail.com</a><br>
<br>I deal with my software the way I treat my eldritch abomination: <br> It's not human, it's not even alive in the natural sense. </div><div dir="ltr"> It's nightmare-born and nightmare-shaped, and nightmares don't die easy.<br> -- @yenzie</div></div></div></div>