Perl-Sensitive Sunglasses | |
PerlMonks |
Re: difference between two filesby 2teez (Vicar) |
on Dec 19, 2013 at 14:04 UTC ( [id://1067819]=note: print w/replies, xml ) | Need Help?? |
Hi varalaxmibbnl, NOTE: This might not work like you wanted, if the lines of the first file doesn't follow just like that of the second file. Updated: Change chomp(my @file1 = <DATA1>); chomp is really not needed here, as pointed out by hdb
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
|
|