On Thu, Jul 28, 2005 at 06:23:07PM -0400, Warrick FitzGerald wrote: > Did anyone have any ideas on this? I've read all the Config::Grammar > docs and have not found a solution. > > In summary I dont want to hard code the my URL's on each of the probes > so I though I could use @define to do a search on a specific string. > > The problem is that something like this @define ReplaceMe www.Domain.com > > Get's replaced with www\.Domain\.com when I use the work ReplaceMe in my > config.
It's kind of a bug in Config::Grammar - it's doing a quotemeta() call before the replace. I'll try to find the best way to fix it for the next release. Meanwhile, I suppose you could just strip the quotemeta() call (around line 590 in lib/Config/Grammar.pm). Cheers, -- Niko -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
