Someday I&#39;ll remember the Reply to All button... for public consumption, I&#39;m resending this to the list... ;)<br><br><div class="gmail_quote">On Mon, Mar 31, 2008 at 8:34 PM, Emmanuel Mejias &lt;<a href="mailto:emmanuel.mejias@gmail.com">emmanuel.mejias@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp; if ($line =~<b style="background-color: rgb(255, 204, 0);"> /\var\/log/</b>){<br></blockquote>
<div><br>I think that&#39;d do it. You can also use a different set of separators to
make it a little more readable and avoid the extra escapes:<br><br>if ($line =~ m{/var/log}) {<br><br>By using the &quot;m&quot; keyword, you can use virtually any symbol you want as the delimiter for your regex. For example,<br>

<br>m[/var/log]<br>m&quot;/var/log&quot;<br>m&#39;/var/log&#39;<br>m|/var/log|<br><br>Cheers,<br>Andrew <br></div></div>