this thread ihttp://www.thescripts. com/forum/thread50290.htm l contains what i need but i cannot understand some of the code i need more explain ....
Expand|Select|Wrap|Line Numbers
- my $sampleinput = <<"EOF";
- zone "dontchangethisdomain.com" {
- type master;
- file "/somepath/to/dontchangethisdomain.com";
- notify yes;
- }
- zone "mydomain.com" {
- type master;
- file "/path/to/zone/mydomain.com";
- notify yes;
- }
- zone "leavethisalonetoo.com" {
- type master;
- file "/other/path/to/leavethisalonetoo.com";
- notify yes;
- }
- EOF
Expand|Select|Wrap|Line Numbers
- my $prematch;
- my $thematch;
- my $postmatch;
any help will be appreciated .....
thanks for all