the code is as follows , I hope now people can easily test it out and bring the best to me.
#!/usr/bin/perl -wIt's better to
nowadays.use warnings;
Are you sure you want "\t" rather than "\n"?use Strict; use File::Stat; use Digest::MD5; print "Enter the Path where all the data files are available:\t";
Since you're under strict this won't even compile. It is a good thing to post real code.$sourcedir= <STDIN>; chomp($sourcedir);
Update: Case matters! (Hadn't noticed your mistake in the first place.) Please (do a favour to yourself and) reread your program taking this into account.
open(LOG ,">>D:\\prad\\log1.csv");It's better to
can suffice.open my $fh, '>>', 'path/to/file' or die $!;
In reply to Re^2: Subroutine speed
by blazar
in thread Subroutine speed
by prad_intel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |