amma has asked for the wisdom of the Perl Monks concerning the following question:
I created a array of filehandles like below
my @handles = map { open my $fh, '<', $_; $fh } @files;Now I want to open each file with file handle and search for a particular pattern and store that file name when pattern is succesful
any initial code that would help me is appreciated
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Array of filehandles
by kcott (Archbishop) on Apr 29, 2013 at 08:11 UTC | |
Re: Array of filehandles
by Rahul6990 (Beadle) on Apr 29, 2013 at 07:06 UTC | |
Re: Array of filehandles
by hdb (Monsignor) on Apr 29, 2013 at 07:04 UTC | |
Re: Array of filehandles
by Krambambuli (Curate) on Apr 29, 2013 at 07:43 UTC | |
Re: Array of filehandles
by Anonymous Monk on Apr 29, 2013 at 07:45 UTC | |
Re: Array of filehandles
by pachydermic (Beadle) on Apr 29, 2013 at 13:50 UTC |
Back to
Seekers of Perl Wisdom