use strict;
use warnings;
use List::Util qw/reduce/;
print reduce { $a * $b } 1..6;
####
Name "main::a" used only once: possible typo at x.pl line 6.
Name "main::b" used only once: possible typo at x.pl line 6.
####
use strict;
use warnings;
print sort {$a <=> $b } 1..6;