iphone has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to compare two directories with the following code but I am getting the following warning.What is wrong with the below code?
Argument "E:/perl/scripts" isn't numeric in numeric ne (!=) at orphan_check.pl line 26. Argument "Z:\\edit\\scripts" isn't numeric in numeric ne (!=) at orphan_check.pl line 26.
I am tryingif($client_root!=$cwd) { print "EXITING:Perforce client root donot match the current working di +rectory"; exit; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Comparing two directories and then exiting from the script
by Khen1950fx (Canon) on Nov 20, 2010 at 01:51 UTC | |
Re: Comparing two directories and then exiting from the script
by biohisham (Priest) on Nov 20, 2010 at 03:22 UTC |
Back to
Seekers of Perl Wisdom