programming-examples/perl/SystemFunction/Combine rand function and letter range to generate random letter.pl
2019-11-15 12:59:38 +01:00

2 lines
50 B
Perl

$letter = ('a' .. 'z')[26 * rand];
print $letter;