Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: File::Find Problem

by Samy_rio (Vicar)
on Aug 11, 2006 at 05:44 UTC ( [id://566749]=note: print w/replies, xml ) Need Help??


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';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://566749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found