|Do you know where your variables are?|
Re: FMTYEWTK about split //by dragonchild (Archbishop)
|on Jan 21, 2004 at 13:03 UTC||Need Help??|
It's also a barrier to integration of the defined-or patch to 5.8.x, since a // where perl may be expecting either an operator or a term could mean defined-or or could mean ($_ =~ //). Without the feature, the latter would be overwhelmingly less likely to occur in real code.
I'm not the world's best lexer, but I cannot imagine a situation where // could be misinterpreted. Your example, if I remember right, implies that I could write $_ =~ +;. =~ is the operator that requires a term on the RHS.
Unless, as is often the case, I'm missing something ...
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.