in reply to Re: Easy way to search files?
in thread Easy way to search files?

That looks like what I need. I have a basic question though. I know how to return variables from a subroutine. I'm not, however, sure how this subroutine returns true. Or should I say that I am not sure how to return the fact that this subroutine returns true for each file. Can i just code to return a variable called $file_hit or something? That if indeed the file has been found to be true. I think that this post might be a bit confusing. I'm posting it anyway just in case people understand what is going through my mind.<\p>

Replies are listed 'Best First'.
Re: Re: Re: Easy way to search files?
by OM_Zen (Scribe) on Jan 06, 2003 at 18:42 UTC
    Hi ,

    The file content or pointer could be returned .