in reply to Parsing a hash table for only variables that are uppercase.
Not sure if this is the *best* way, but I'm lazy and it works for me
perl -MLWP::Simple -e'$_="104116116112058047047112097114115101101114114111114046099111109047112"; $s .= chr for/(...)/g;getprint $s' |more#!/usr/bin/perl use strict; my %h = qw/A a B b c c/; my %h2; $h2{$_} = $h{$_} for grep {/^[^a-z]$/} keys %h;
|
|---|