Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Write a small program that opens the text file, reads it line by line, and prints out each line read.
Then modify it to count the number of characters in each line. Then modify it to count the number of words in each line. Then modify it to find a string containing @. Then modify it to generalize the search to look for an e-mail address (text@text.tla). Then modify it to look for a number after the e-mail address. Then modify it to read blocks of text separated by % (rather than by line). Show us the code that presents a problem to you, and we'll be glad to help. In reply to Re: extracting specific information from a txt file
by apl
|
|