Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: File::Find Problem

by Samy_rio (Vicar)
on Aug 11, 2006 at 05:44 UTC ( #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
Node Status?
node history
Node Type: note [id://566749]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-06-23 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?