in reply to RE: Re: BrainPain-Help
in thread BrainPain-Help
I've seen this bite people more than once (it bit me once). It makes me think => providing scalar context to its right-hand side would be a good enhancement. Of course, that probably won't happen since I've seen people feel gleeful about abusing => for things like kill INT=>@pids. ):
We could sneak it in by first adding a warning if the list context after => made a difference (wantarray was called, @array was evaluated, etc.). But that sounds quite difficult. Dang, I need that time machine again!
- tye (but my friends call me "Tye")
|
|---|