in reply to I am so tainted
The standard disclaimer this time states that doing it that way really isn't all that secure (a hash slice would be better) and that this technique will only work on blessed hashes (other objects will go BOOM).foreach (keys %$self) { $self->{$_} = ($self->{$_} =~ /^(.*)$/); }
|
|---|