On 08/23/2006 05:09 PM, [EMAIL PROTECTED] wrote:
[...]
Am guessing that I have to take out the array bit and just modify this line
here:

@match=grep{/$lookfor/[EMAIL PROTECTED];

But I am not sure how or what I should change it to. How do I tell grep to
search from a file instead of from an array? [...]

You could use the 'Tie::File' module.




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to