in reply to Configurable Matches
I've got a log file parser, and I did it like this:
You can use all the standard pattern matching thingies inside the quotes for the variables, and then slap the vars in between the slashes, and it all works fine.my $TagStart = "tag start.*swfm l . info"; my $TagStop = "tag stop"; ... insert() if ($curnt =~ /$TagStart/i); ... last if ($curnt =~ /$TagStop/i);
Spike.
|
|---|