in reply to Printing Line Numbers in output file

Text::Diff accepts two filenames as arguments and has different output formats. It even provides hooks for your own formatting routines..

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

  • Comment on Re: Printing Line Numbers in output file