in reply to Re^4: What's so bad about &function(...)?
in thread What's so bad about &function(...)?

Hmmm... are there other benefits?

I never use mutator functions, nor the "alter in place" bindings of for loops. I also don't like to interpolate non-constant expressions into constant strings, like here docs or string interpolations...

If I really need a copy of @foo, I'll label the copy with a proper variable name, do a normal assignment, and be done with it. No trickyness required! :-)

  • Comment on Re^5: What's so bad about &function(...)?