Don't ask to ask, just ask | |
PerlMonks |
RE: RE: From one beginner to others . . .by greenhorn (Sexton) |
on Jul 16, 2000 at 01:54 UTC ( [id://22736]=note: print w/replies, xml ) | Need Help?? |
I managed to figure out at least one way to use Benchmark, will
wonders never cease. :) (Don't know if I have used it in the best possible way, though.) Result of running the script shown below:
The script didn't pass muster with "-w" when I was trying to print matching lines to "NUL" (file handle hadn't been opened). I changed it simply to count matching lines. "-w" is now happy. (Note to self: something else for later study: how to print only to "NUL" w/out complaint from "-w".) The source (CSV) file is 13,576 lines long (1,703,397 bytes). Each record has 12 fields; the average length per record is 124 characters. The task is to print only lines whose fourth fields contain "MAPI".
In Section
Meditations
|
|