Apr 2, 2009, 9:48 AM
Post #10 of 21
i'm afraid i couldnt... it's a job assigned to me... plus, the script is not in my laptop, but in my computer at the office. and i'm at home... so, i'll see what i can do when i'm at the office later...
Re: [FishMonger] Perl is skipping instruction...
[In reply to]
but so far, the only problem is what i've said in the start of the thread... and it's solved by that $| which i still think a bad idea to leave that the way it is... yeah, it'll work since i'm only processing little chunk of data... wait till there's numerous data i need to catch... other than that, everything's fine... it does what it should, and it doesn't do what it shouldn't...
what it should do is, it fetch a log from a file... and read it through... after that, i would fetch important things from the log and interpret it so a report can be easily understand...
what i did for now is, open the file, load the log into an array... scan it line by line using scalar ($array[$x]) and by using string matching, find the data that is similar to the keyword used...