Perl 6 - a Practical Extraction and Reporting example!
Archive - Originally posted on "The Horse's Mouth" - 2016-01-11 23:41:21 - Graham EllisAlways looking for an excuse to write little demo scripts - especially in Perl 6 which was new as an official release at Christmas, ... and had such an opportunity today. A datafile containing 2,500 records - station usage - and seeing how many were smaller in passenger numbers that Melksham in 2014 and 2015.
Script [here], data [here].
Answers to the question:
There are 2538 stations listed
There were 388 smaller than Melksham in 2014
There were 597 smaller than Melksham in 2015
Happy to train you on Perl 6 ... please ask ;-)