it would be trivially simple
But very long-winded! Perhaps using Range Operators and map would save some typing?
$ perl -Mstrict -Mwarnings -E ' > my @chars = q{0} .. q{9}; > push @chars, map { $_ => uc } q{a} .. q{z}; > say for @chars;' 0 1 2 3 4 5 6 7 8 9 a A b B c C ... y Y z Z $
This does not address your problem but I hope it is of interest.
Cheers,
JohnGG
In reply to Re: How to generate random sequence of UTF-8 characters
by johngg
in thread How to generate random sequence of UTF-8 characters
by ted.byers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |