Smartphone password managers are largely insecure
elcomsoft.com52 pointsby skimbrel21 comments
def _foo(self, arg):
...
foo = decorator()(_foo)
So you can use decorators at runtime whenever you want too. local(*foo) = @_;
foreach $bar (@foo) {
do_something($bar);
}
This amounts to telling the compiler "I want to alias the name foo in all contexts to my argument, and then go look at what's stored in the array at that name" and is a poor man's pass-by-reference. local *Package::quux = sub { ... }"
What's left is an unfortunate case where things like the GP mentioned ($bar = $foo[$foo]) are possible, and people who think they're being clever will do these things. Like the parent said, this is not a good thing to do.
A human life is worth more than its economic output.