Wow BlackMateria, you are a star, it works a treat and I have read up on all the bits and understand now how it works!! Thankyou so much. Now I have another query...if you can help me out on this one I would be forever in your debt! I now need to run a HTML search which asks for a keyword which will then open up my new perl script and display the results in HTML. At the moment I put a peice of data in $keyword and it finds all the records when I run the script, but how do I get the HTML to overwrite that keyword so it can change everytime the need a different search? Hope that makes sense!! So in essense with everything put together, a person gets a HTML page which asks what the would like to search for, they put in a keyword, the result is then shown on a html for that particular file. Cheers Jason

In reply to Re: Confused Beginner: searching and displaying information from a dat file by Anonymous Monk
in thread Confused Beginner: searching and displaying information from a dat file by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.