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)
In reply to Comparing file contents to array values by nasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |