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.


eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';