Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-11-25 07:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls