Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i want to extract the filenames, (rs0036.doc) and the titles. i'd like to push the filenames into one array, and their titles into another. (or a hash if i must, but i'm not very good with them). the format is $filename."\t".$title."\n"blahety blah blah RS0029.DOC INTER UNIT HARNESS REQUIREMENT SPECIFICATION RS0036.DOC INSTRUMENT ELECTRONICS UNIT RS0037.DOC MECHANISM CONTROL ELECTRONICS RS0041.DOC IOU DESCAN MECHANISM RS0042.DOC IOU GENERIC MECHANISMS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: searching a file, results into an array
by tmoertel (Chaplain) on Oct 13, 2004 at 14:55 UTC | |
|
Re: searching a file, results into an array
by Random_Walk (Prior) on Oct 13, 2004 at 15:05 UTC | |
by perlcapt (Pilgrim) on Oct 14, 2004 at 02:58 UTC | |
by Random_Walk (Prior) on Oct 14, 2004 at 10:41 UTC | |
|
Re: searching a file, results into an array
by borisz (Canon) on Oct 13, 2004 at 14:53 UTC | |
|
Re: searching a file, results into an array
by muntfish (Chaplain) on Oct 13, 2004 at 14:53 UTC | |
|
Re: searching a file, results into an array
by StrebenMönch (Beadle) on Oct 13, 2004 at 14:55 UTC |