min and max return, correspondently, the minimum and maximum value of their operands.
say 20 min 10;Â Â Â Â Â Â Â Â # 10 say 'three' max 'two'; # two (sorted alphabetically)
Reading the Perl 6 sources and enjoying the new Perl 6 features
min and max return, correspondently, the minimum and maximum value of their operands.
say 20 min 10;Â Â Â Â Â Â Â Â # 10 say 'three' max 'two'; # two (sorted alphabetically)