in reply to File::Find Problem
Hi sivaramanm, Use double quotes in argument of pdftotext.exe like this,
system("c:\/Tools\/pdftotext.exe \"$_\"");
Assign $ARGV[0] value to a variable directly as:
my $root_dir = $ARGV[0];
return if ! /\.pdf?/i;
In the return statement, you made couple of mistakes, it should be
return if !~ /\.pdf$/i;
Regards,
Velusamy R.
|
|---|