in reply to Re: remove repeated lines with space differences
in thread remove repeated lines with space differences

I'd also suggest
s/\s+/ /g;

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re^3: remove repeated lines with space differences
by ikegami (Patriarch) on Feb 16, 2010 at 15:47 UTC
    He said he wanted to ignore differences in leading and trailing white space. I didn't include that because that would move differences in internal white space.

      Thanks!
      Your worked worked just the way i wanted...
      sadly im wondering why i couldnt think of this simple solution?! :(