From: Blackstone, J. D. <jda...@ci...> - 2002-07-31 15:11:48
|
Another thing I meant to say about regexes is I think it would be really cool if we could drop -re altogether. To my mind it seems like the method should use ref to see if you've passed a qr// regex or a plain scalar. Of course, my mind doesn't work like anyone else's, and it would break backward compatibility. However, this seems to be more in keeping with Perl 6's newfound "A regex is not really a string" philosophy. qr// was a great piece of syntax, and I'd like to see it be a more first-class member of the language with some modules. jdb |