Someday I'll remember the Reply to All button... for public consumption, I'm
resending this to the list... ;)

On Mon, Mar 31, 2008 at 8:34 PM, Emmanuel Mejias <[EMAIL PROTECTED]>
wrote:

>   if ($line =~* /\var\/log/*){
>

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:

if ($line =~ m{/var/log}) {

By using the "m" keyword, you can use virtually any symbol you want as the
delimiter for your regex. For example,

m[/var/log]
m"/var/log"
m'/var/log'
m|/var/log|

Cheers,
Andrew
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc

Reply via email to