go ahead... be a heretic | |
PerlMonks |
Re: Text::Diff::Table output, but want to show all linesby 2teez (Vicar) |
on Dec 12, 2014 at 01:36 UTC ( [id://1110114]=note: print w/replies, xml ) | Need Help?? |
Hi Solo,
Update:If you do this, in your scriptYou will have a table, comparing the two files, and showing differences. Just like I mentioned previously. But without the { STYLE => "Table" } in that script, you will only have want I suppose you have now. And like I said, you weren't telling how you are using the module. But, I think this is what you want. Please Note: That if you use diff $file1, $file2 { STYLE => "Table" }; as given from the documentation of Text::Diff::Table, which is a bit different from that of Text::Diff. Note there is no , after $file2, before {. And that without the use strict; pragama, you have just the difference between the files listed and no error BUT with the use strict;, you will end up with compilation errors.
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|