in reply to Balancing Coding Time And Code Quality
my (%common, %slave); %slave = map {chomp; $_ => undef} <SLAVE>; while ( <MASTER> ) { chomp; if (exists $slave{$_}) { $common{$_} = undef } else { print "$_ exists on master but not slave\n" } } delete @slave{ keys %common }; print "$_ exists on slave but not master\n" for keys %slave;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Balancing Coding Time And Code Quality
by Limbic~Region (Chancellor) on Dec 04, 2003 at 22:55 UTC |