HI,
I'm trying to create a programme that will enable the user to specify a directory to search in and then allow them to search all files in that directory for akey phrase.
Thus far I've managed to list all files in a directory, but I found that perl only searches the directory that the .pl file is located in, whereas I want the user to be able to input a directory to be searched in.
I can find code to search a file or print files in a directory,but not to search all files in a specified directory.
This is burning my brains or rather brain as I only have one, as I'm a complete perl novice..