| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
searching a txt file from an array-
|
Original Message
|
Name: tim burton
Date: January 25, 2005 at 06:37:11 Pacific
Subject: searching a txt file from an array-OS: winxpCPU/Ram: p4/64mb |
Comment: hello ive been stuck with this bit of code, where it must read keywords from an array, and search them from a .txt file. foreach $kw(@keywords) { $numOccur=0; while(<FILE2>) { if (/$kw/) { $numOccur=$numOccur+1; } } push @occurence, $numOccur; CAN U HELP ME OUT PLZ.. IVE HAV HAD SLEEPLESS NIGHTS WITH THIS!!
THANKS tim burton
Report Offensive Message For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home