>But you said "lists" up there and that sparked an idea in me ... What >does > @a =~ /pattern/; >currently do? AFAICT, nothing useful. But it could be a syntactic >shorcut for a pattern matching grep() That changes semantics in places you might not expect. What does fn() =~ /pattern/ currently do? It calls fn() in scalar context, of course. But with your suggestion, the =~ operator is no longer a scalar operator, so this changes. --tom
- What's in a Regex (was RFC 145) David Corbin
- Re: What's in a Regex (was RFC 145) Jonathan Scott Duff
- Re: What's in a Regex (was RFC 145) Tom Christiansen
- Re: What's in a Regex (was RFC 145) Nathan Wiger
- Re: What's in a Regex (was RFC 145) Tom Christiansen
- Re: What's in a Regex (was RFC 145) Nathan Wiger
- Re: What's in a Regex (was RFC 1... Tom Christiansen
- Re: What's in a Regex (was R... Mark-Jason Dominus
- Re: What's in a Regex (w... Nathan Wiger
- Re: What's in a Regex (w... Tom Christiansen
- Re: What's in a Regex (was RFC 145) mike mulligan