in reply to Re: extracting dissimilar lines
in thread extracting dissimilar lines
$/ = ""; while (<>) { /=\s*([^\n]+).*=\s*([^\n]+)/s; print unless $1 eq $2; }
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: extracting dissimilar lines
by JavaFan (Canon) on Mar 26, 2012 at 21:16 UTC | |
by CountZero (Bishop) on Mar 26, 2012 at 22:22 UTC |