Perl Data Language

Using PDL

  • use strict;
    use warnings;
    use PDL;
    my $data=sequence(100_000);
    say "The sum of 0 to 99,999 is ", $data->sum;
    
  • Save as first.pl
  • Run from the command line with
    perl first.pl
    where "first" is what you named the file.

PDL twitter stream