in reply to How to generate random sequence of UTF-8 characters
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to generate random sequence of UTF-8 characters
by Lotus1 (Vicar) on Dec 20, 2012 at 20:28 UTC | |
by ted.byers (Monk) on Dec 20, 2012 at 20:38 UTC |