Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Open a directory and recursively process files

by Anonymous Monk
on Jan 09, 2013 at 20:12 UTC ( #1012561=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Open a directory and recursively process files
in thread Open a directory and recursively process files

Any idea why this happens?

Because you don't have permission -- ask the computer why

stat, file, ls

or die Fudge( "q{$file}:" ); sub Fudge { use Errno(); join qq/\n/, "Error @_", map { " $_" } int( $! ) . q/ / . $!, int( $^E ) . q/ / . $^E, grep( { $!{$_} } keys %! ), q/ /; }


Comment on Re^3: Open a directory and recursively process files
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-09-22 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls