in reply to Searching input file

What is your question / problem? open looks suspect: open (INPUT, "<books.txt"); are you missing '<' or '>' read, write, or append the file you are opening?

Replies are listed 'Best First'.
Re: Re: Searching input file
by h.toothrot (Initiate) on Feb 28, 2002 at 12:35 UTC
    Hi

    I just looked this one up in man perlopentut:
     
    A few things to notice.  First, the leading less-than is
    optional.  If omitted, Perl assumes that you want to open
    the file for reading.