Ppeoc has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I have a bunch of files in a directory that needs to be read. I want to be able to read only those files that have the relevant data. The format of my file is shown below.
+=======+=======+============+============+============+ <Multiples lines of data> +-------+-------+------------+------------+------------+
I want to read only files that have the multiples lines of data. When the file is missing the data, the format is as shown below
+=======+=======+============+============+============+ +-------+-------+------------+------------+------------+
How do I skip reading the files further with this missing data?
Thank you!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I skip reading files with missing data?
by hippo (Archbishop) on Nov 19, 2015 at 18:37 UTC | |
|
Re: How do I skip reading files with missing data?
by stevieb (Canon) on Nov 19, 2015 at 18:20 UTC | |
|
Re: How do I skip reading files with missing data?
by vinoth.ree (Monsignor) on Nov 19, 2015 at 18:29 UTC | |
|
Re: How do I skip reading files with missing data?
by ww (Archbishop) on Nov 19, 2015 at 23:29 UTC | |
by Ppeoc (Beadle) on Nov 20, 2015 at 00:55 UTC |