sub create { open(FILE, "C:/Users/jeyakuma/Desktop/shipping project/input/input.txt"); open HTML1,">C:/Users/jeyakuma/Desktop/shipping project/url processing/competitors_in_url.txt"; while() { chomp; $url=$_; foreach ($url) { do 'C:/Users/jeyakuma/Desktop/perl/xpathconfiguration.pl'; &domain_check(); $x="$competitor.html"; print HTML1 "$x\n"; } } open HTML2,">C:/Users/jeyakuma/Desktop/shipping project/url processing/competitors_in_directory.txt"; opendir(DIR, "C:/Users/jeyakuma/Desktop/shipping project/database"); @files = grep(/\.html$/,readdir(DIR)); foreach $file (@files) { print HTML2"$file\n"; } } do 'C:/Users/jeyakuma/Desktop/perl/tescm.pl'; &difference(); #### use strict; use warnings; use List::Compare; $| = 1; # Disable output buffering for (1..10) { print '.'; sleep 1; } open F, "; my @b=; my $lc = List::Compare->new(\@a,\@b); my @intersection = $lc->get_intersection; my @firstonly = $lc->get_unique; my @secondonly = $lc->get_complement; #print "Common Items:\n"."@intersection"."\n"; print "Please configure and create dump in Databse !!\n"."\n@firstonly"."\n"; print "please give the input URL for the following !!\n"."\n@secondonly"."\n"; close F; close S;