Gossamer Forum
Home : General : Perl Programming :

search directory

Quote Reply
search directory
Hi everybody,
I'm new to perl.
I wonder if anybody can help me out for a bit
My problem is this:
First of all I write a short story.
I then want to extract all the nouns from the short story and replace them with a blank space and display this to the screen.
It's here that i need the help!!
I was thinkin of doing it this way:
I store all nouns in a directory/database.
i then write some perl script which will take in my story, scan through it and if a word appears in the story which is also in the directory replace it with a blank space.Smile
This willthen be printed to the screen.
Does anybody know the code to do this??
Thanks in advance
Subject Author Views Date
Thread search directory betty 4888 Dec 5, 2002, 8:19 AM
Post Re: [betty] search directory
Paul 4765 Dec 5, 2002, 9:16 AM