Aloha,

Something really strange.....
I am still rather new to perl and cgi. I have been developing a script and testing it for a couple a weeks now and made some progress.

What has surprised me is that when I click on submit now the browser asks me what I want to do with the file. I would think that means the browser doesn't recognize the .cgi extention. The other form on the page reacts normally processing its script. I have checked both action lines on the forms.I checked line ending for Unix and permissions. I'm using Adobe GoLive and BBEdit. Ran it in Terminal and got this error.
Undefined subroutine &main::pram called at ./Write.cgi line 15

Line 15 is still declaring variables! Am I missing something really simple? Mahalo, JWG

In reply to CGI wants to save file? by loop362

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.