Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

modification of hash keys as $_ in loop. #124

Open
exodist opened this Issue · 1 comment

2 participants

@exodist

"s/.../.../g for values %hash" works fine to modify every value, however "s/.../.../g for keys %hash" does not. It would be nice if that could be made to work

A use case is parsing CGI params where both keys and values contain hex, and it has already been turned into a hash:

"s/.../.../g for keys %hash, values %hash" could be done.

s/.../.../g for each %hash" would be even nicer, but each doesn't work like that

@schwern
Owner

This should fall out of a real fix for hash keys that turns them into real SVs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.