|Don't ask to ask, just ask|
But it doesn't prevent me from being human and making a mistake.
Ok, firstly, you said that you can't easily do what you wanted, not that it was easy to make a mistake.
Secondly, attempting my $x, $y = @_ with strict in place (which is best practice anyhow) produces:
Which would be a pretty big clue to me that something was wrong (you aren't creating a lexical $y with my $x, $y). Doing the same thing with warnings turned on (another best practice) results in:
I'd say that pretty well prevents you from making this mistake, anyhow.
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet