On Sun, Jul 6, 2008 at 6:57 PM, Noah <[EMAIL PROTECTED]> wrote: > Hi there fellow PERL coders. > > I am trying to match lines between a template file and a configuration file. > If the configuration is missing a particular line that is found in the > template file then it is printed. If the configuration file has an extra > line then it to gets printed. > > Something isnt working here. I am not getting the lines to match an I cant > seem to figure out why. I am hoping somebody can shed some light here. > > Cheers, > > Noah >
Why reinvent the wheel? Check out Array::Diff and Text::Diff on CPAN. HTH, -- j -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org values of β will give rise to dom!