Update Changes file
[Math-GSL.git] / examples / gsl_sort
bloba8d1182d660f034d3853d78a0aab0380095d3e42
1 #!/usr/bin/perl -w
2 use strict;
3 use Math::GSL::Sort qw/gsl_sort/;
4 my @lines;
5 push @lines, $_ while (<>);
7 my $sorted = gsl_sort(\@lines,1, $#lines +1 );
8 print join("\n", @$sorted) . "\n";