<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">perl -wE 'use diagnostics;$a="true"; $a =~ s/(ru)/FFF\1/; say $a'</font></div></blockquote><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">\1 better written as $1 at -e line 1 (#1)</font></div><div><font class="Apple-style-span" color="#000000">    (W syntax) Outside of patterns, backreferences live on as variables.</font></div><div><font class="Apple-style-span" color="#000000">    The use of backslashes is grandfathered on the right-hand side of a</font></div><div><font class="Apple-style-span" color="#000000">    substitution, but stylistically it's better to use the variable form</font></div><div><font class="Apple-style-span" color="#000000">    because other Perl programmers will expect it, and it works better if</font></div><div><font class="Apple-style-span" color="#000000">    there are more than 9 backreferences.</font></div></blockquote></div><div><br></div><div>Отключить, как diagnostics пишет, можно через syntax.</div><div><br></div><div>Но, честно говоря, лучше прислушайтесь к интерпретатору, он дело говорит :)</div><div>Да и отключать ВСЮ категорию - это как себе в ногу выстрелить. Намаетесь потом ловить странные косяки.</div><div><br></div><div>Митяй.</div><br><div><div>On May 22, 2011, at 1:30 AM, Nick Knutov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Коллеги, подскажите пожалуйста,<br><br>чтобы отключить вывод сообщений вида "\1 better written as $1 at"<br><br>no warnings (что) ?<br><br>Нагуглить категорию не получается, в документации к perllexwarn тоже ничего.<br><br>-- <br>Best Regards,<br>Nick Knutov<br><a href="http://knutov.com">http://knutov.com</a><br>ICQ: 272873706<br>Voice: +7-904-84-23-130<br>-- <br>Moscow.pm mailing list<br>moscow-pm@pm.org | http://moscow.pm.org<br></div></blockquote></div><br></body></html>