<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>One could argue that you should *always* develop with warnings and strict on. &nbsp;You can set those up this way:</div><div><br></div><div>use warnings;</div><div>use strict;</div><div><br></div><div><br></div><div>or by using the preprocessor directive:</div><div><br></div><div>#!/usr/bin/perl -w -e</div><div><br></div><div>use strict;</div><div><br></div><div><br></div><div><br></div><div>I'm sure there's more ways to do that (since there's always more than one way to do it), but I find it the most helpful to develop w/ warnings and strict on, and then to pull warnings when deploying to users (i.e., "when it's done")</div><div><br></div><div><br></div><div>--j</div><div><br></div><div><br></div><br><div><div>On Oct 19, 2008, at 4:38 AM, Brian Pitts wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Ed Cashin wrote:<br><blockquote type="cite">On Sat, Oct 18, 2008 at 6:52 PM, Brian Pitts &lt;<a href="mailto:brian@polibyte.com">brian@polibyte.com</a>> wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Can someone explain why the last one doesn't match?<br></blockquote></blockquote><blockquote type="cite">...<br></blockquote><blockquote type="cite"><blockquote type="cite">$ perl -e '$foo = "hello"; $bar = "hello_world"; print "yes\n" if $bar<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">=~ /^$foo_world$/;'<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There's no $foo_world variable. &nbsp;If you do "perl -W -e ...",<br></blockquote><blockquote type="cite">perl will tell you that.<br></blockquote><blockquote type="cite"><br></blockquote><br>Ah ha. I forget that I have to ask perl to warn me about things like<br>that. Thanks!<br><br>-Brian<br>_______________________________________________<br>Ale mailing list<br><a href="mailto:Ale@ale.org">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br></div></blockquote></div><br></body></html>