2008/7/24 Bram <p5p@perl.wizbit.be>: > Citeren Yitzchak Scott-Thoennes <sthoenna@efn.org>: > >> On Mon, June 2, 2008 1:52 pm, Bram wrote: >>> >>> Quoting David Nicol <davidnicol@gmail.com>: >>>> >>>> Warn that non-final $ will interpolate in documentation and suggest >>>> \Z instead? >>> >>> Given how easy it is to miss it I feel more for a >>> 'Possible unintended interpolation of $\ in regex' warning. (if that >>> is even possible of course) >>> >>> Any comments on the warning? >> >> Sounds great, if you can make it suppressable with ${\}. >> > > Patch attached. > > ./perl -wle '"" =~ m/$\s/;' > Possible unintended interpolation of $\ in regex at -e line 1. Thanks, applied as #34224, except that I moved the test in t/lib/warnings/toke.Thread Previous | Thread Next