Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Help with opening subdirectories

by Praveen (Friar)
on Feb 27, 2006 at 16:02 UTC ( #533057=note: print w/ replies, xml ) Need Help??


in reply to Help with opening subdirectories

Try This

use File::Find; sub process_file { if(-f $File::Find::name) { open(FILE1, $File::Find::name) || die "Cannot open file : $!"; $line1 = <FILE1>; print "$File::Find::name\n"; print $line1; } } find(\&process_file, "C:\/views\/EDMAN");


Comment on Re: Help with opening subdirectories
Download Code
Re^2: Help with opening subdirectories
by Anonymous Monk on Feb 27, 2006 at 16:09 UTC
    Thanks a lot, I will try this. You and Phil are my hero

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2014-10-02 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls