2008/6/3 Ed Avis <eda@waniasset.com>: > Abigail <abigail <at> abigail.be> writes: > >>I like the idea of being able to do a non-interpolating pattern - just >>as we have C<qq> and C<q> for strings, but then as a different operator. >>But that should have been long time ago, not worth breaking code now. > > Whatever change is made should not break any existing code. Adding a new regexp > modifier such as /d won't do that, because no existing code uses that modifier. > Currently /d is a syntax error. > > % perl -E '/x/d' > Bareword found where operator expected at -e line 1, near "/x/d" Im pretty sure that this could be done. If it was really accepted as worth it. yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous