|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Thoughts on some new operators for perl (6 or 7)by etcshadow (Priest) |
| on Mar 10, 2004 at 07:02 UTC ( #335375=note: print w/ replies, xml ) | Need Help?? |
|
Really, the operator that I want is ''= or some such. This would be the equivalent of ||=, but for comparison against eq '' rather than boolean true-falseness. I understand that there is a patch out there for a //= operator that does the same thing for undef, and I think that's really cool... but I'd still like to see the empty-string defaulting operator, as well.
In Section
Meditations
|
|
||||||||||||||||||||||||||