in reply to Re: Why does reverse in list context operate on () instead of @_ or @ARGV
in thread Why does reverse in list context operate on () instead of @_ or @ARGV
Of course, for obfuscation reasons, it might be nice to have reverse act on @_, but I fail to see the practical applicability.
I wrote map { reverse } @words;
but I wanted map { scalar reverse } @words;
If it operated on @_ (or if there was a warning of some kind ) I would have known what was wrong sooner
In Section
Seekers of Perl Wisdom