Hellhound4 has asked for the wisdom of the Perl Monks concerning the following question:
I know how to read either the pipe delimited first line or the entire line into an array. But the only part I need is the last entry. Is there a way to read each entry into an array and go to the next line after I get done with the first one? Then I could just take every nth element and have an array with file paths.This | Is | An | Entry | //Path/To/File.pdf This | Is | Entry | 2 | //Path/To/File2.pdf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading from files
by roboticus (Chancellor) on Mar 30, 2012 at 02:08 UTC | |
|
Re: Reading from files
by NetWallah (Canon) on Mar 30, 2012 at 04:02 UTC | |
|
Re: Reading from files
by tobyink (Canon) on Mar 30, 2012 at 06:11 UTC | |
|
Re: Reading from files
by Anonymous Monk on Mar 30, 2012 at 04:08 UTC | |
|
Re: Reading from files
by JavaFan (Canon) on Mar 30, 2012 at 09:00 UTC |