Because I had not thought of that? :-) It figures that there would be a more compact way to do that.
Although if I had objects being mutated in an inner loop, I would want to compare both ways, in case changing a few keys is faster than setting the whole hash.
In reply to Re^3: Setting accessor with Object::Tiny
by jcb
in thread Setting accessor with Object::Tiny
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |