Someday I'll remember the Reply to All button... for public consumption, I'm resending this to the list... ;)<br><br><div class="gmail_quote">On Mon, Mar 31, 2008 at 8:34 PM, Emmanuel Mejias <<a href="mailto:emmanuel.mejias@gmail.com">emmanuel.mejias@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> if ($line =~<b style="background-color: rgb(255, 204, 0);"> /\var\/log/</b>){<br></blockquote>
<div><br>I think that'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 "m" keyword, you can use virtually any symbol you want as the delimiter for your regex. For example,<br>
<br>m[/var/log]<br>m"/var/log"<br>m'/var/log'<br>m|/var/log|<br><br>Cheers,<br>Andrew <br></div></div>