in reply to Re: (jeffa) Re: Noble DOT vs the Allmighty ARROW
in thread Noble DOT vs the Allmighty ARROW
and got these results:#!/usr/bin/perl -ln $arrow += () = /->/g; $period += () = /\./g; END { print "arrows occured $arrow times"; print "periods occured $period times"; }
arrows occured 454 times periods occured 227 timesNow Perl has always been Huffman encoded (things used often should require less work than things done seldomly) so '.' (or some other one character operator) should replace '->'. When they went looking for a replacement they noticed that almost everyone else in the known world was using '.'. There are also other features in Perl 6 that cut down on the number of concats needed.
|
|---|