in reply to Re: can I change hash keys or values directly
in thread can I change hash keys or values directly
which worked great. Love it. Helpful & useful. TYVMmap s.(\d+).$1+1/e,values %nums;
If I'm reading that right, it does appear from that link that as an experiment, perhaps keys also worked that way for some brief Perl versions:
use 5.012; # so keys/values/each work on arrays
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: can I change hash keys or values directly
by choroba (Cardinal) on Jan 29, 2021 at 22:44 UTC |