http://www.perlmonks.org?node_id=590634


in reply to Re: secret code generator
in thread secret code generator

A simpler way to populate the @chars array.

my @chars = map {pack q{C}, $_} 0x21 .. 0x7e;

Cheers,

JohnGG