Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: quston n File::Find

by aitap (Deacon)
on Oct 30, 2012 at 17:02 UTC ( #1001529=note: print w/ replies, xml ) Need Help??


in reply to Re^2: quston n File::Find
in thread question n File::Find

Maybe there was an error in opening the file. Try autodie or check for errors like this:

unless (open my $filehandle,"<",$File::Find::name) { warn $!; return; }
Sorry if my advice was wrong.


Comment on Re^3: quston n File::Find
Download Code
Re^4: quston n File::Find
by skyworld_chen (Acolyte) on Oct 31, 2012 at 01:22 UTC

    Hi,

    thank your for your advice. I used your advice in my code and this time the error message is as this:

    "No such file or directory at ......."

    I'm sure there are those files and I checked the log to find all "No such file" are files under sub-directory. I guess this maybe a "problem" of File::Find? or maybe I used something wrong in my code? thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-03 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls