Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 chilling in the Monastery: (8)
As of 2015-07-05 07:03 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 (60 votes), past polls