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


in reply to Declaring an Array Using Character Classes

Hi,

probably something like this:

my @arry = grep { is_of_some_class($_) } map { chr $_ } (1..255);

Best regards
McA