Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Perl only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Perl
Comparing two files
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
umamaheswarig
New Member
Join Date:
Aug 2007
Posts:
6
#1
Comparing two files
Aug 7 '07, 07:54 AM
How can i Compare the lines of two different file.
savanm
New Member
Join Date:
Oct 2006
Posts:
85
#2
Aug 7 '07, 10:38 AM
Hi G.Uma Maheshwari
Try this This is the basic idea of Comparing two files...
[CODE=perl]
use File::Compare;
if (compare("xmlwr ite.pl","1xmlwr ite.pl") == 0) {
print "They're equal\n";
}
[/CODE]
Regards.
Navas.M
Comment
Post
Cancel
numberwhun
Recognized Expert
Moderator
Specialist
Join Date:
May 2007
Posts:
3467
#3
Aug 7 '07, 01:09 PM
In addition, please be sure and post the code that you have tried already. This is not a script writing service. We want you to learn and that won't happen if we write it for you.
Regards,
Jeff
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment