nasa has asked for the wisdom of the Perl Monks concerning the following question:
This gives me the contents of my database as an array. I also have a ten digit number, I now need to search the array and ask if this number is in the array. If so give me the other elements in that line. Simple for some hard for me...Please help."$data_file="learn.data"; open(DAT, $data_file) || die("Could not open file!"); @raw_data=<DAT>;
update (broquaint): title change (was simple for some)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple for some
by derby (Abbot) on Nov 22, 2002 at 18:48 UTC | |
by nasa (Beadle) on Nov 23, 2002 at 03:35 UTC | |
|
Re: simple for some
by Sihal (Pilgrim) on Nov 22, 2002 at 20:32 UTC | |
by Sihal (Pilgrim) on Nov 22, 2002 at 20:37 UTC |