in reply to Re: Reading Multiple files
in thread Reading Multiple files
Here is sample:See if this can help you.
opendir $dh, $dir_of_files or die "Couldn't open dir '$dir_of_files': +$!"; my @comparefiles= readdir $dh; closedir $dh; for each $file in @comparefiles { read_write_subroutine($file); } sub read_write_subroutine { put your whole code here which is currently you are using }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Reading Multiple files
by maheshkumar (Sexton) on Aug 07, 2012 at 16:50 UTC | |
by roboticus (Chancellor) on Aug 07, 2012 at 19:52 UTC |
In Section
Seekers of Perl Wisdom