I'm not sure I follow the problem. You said (code removed):

Hello Monks, I have a simple html form.(Month Day Year Title and Message) input fields are used. When the form is submited the cgi script displays the variable information and formatting correctly. At this point I wanted to be able to write the variables to a file or go back and continue editing. But I am still new to perl and I am having a lot of trouble.

I have not tried to run the code you posted, so I am not sure if what you ask is a problem in the code itself, or when it runs. Assuming the code runs ok,

While I was a little concerned at seeing values in store_event() that had not been passed it, I realized the concern was more likely due to the time of night I was reading the posting and the likelyhood you had stripped the code down somewhat than just they not actually being defined in the code.

A look at Ovid's Web Programming Using Perl course, and tachyon's CGI Help Guide might give you some additional insight into the issue. CGI Programming with Perl and the Perl Cookbook may also prove helpful, as may other resources, such as the Tutorials section here and the comments of other monks.

Good luck with the problem. Hope this helped somewhat.

Update: (19 Oct 2002) In several private messages from others overnight, it was suggested to me several other sources which might also be of use, or that might be of use to others new to the site who may read this later. Mostly related to the asking of questions, they included:

To you, and to others who come after, I wish you good luck, and my thanks to those who messaged me regarding the additional information.


In reply to Re: saving data problem by atcroft
in thread saving data problem by cal

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.