On Monday, May 13, 2002, at 08:15 , Lance Prais wrote:

> I have a question regarding passing variables from a HTML form to a CGI
> script.  I have never worked with CGI in the past and assumed that if I
> included the variables with in the form and on submit called the CGI 
> script
> that the variable would be amiable to it.  That doe not see, to be the 
> case.
> Is my assumption correct?

your assumption seems to be reasonable enough, the
implementation details may be the annoying part.

> I am attempting to use the variables by the following code:
>
> (param('account'))

what I did would be the equivolent of:

        my $account = param('account');

then since I wanted to stuff that into a @list_shrugged
I of course sent it off to a function that munged the $value
and handed me back a pretty

        my @string = dtk_retArray($stuff);

that I felt happier to play with in perl proper....

cf:

http://www.wetware.com/drieux/src/unix/perl/UglyCode.txt

it's ugly, and should be essentially trashed and restarted...
but well, I was in a bit of a hurry - got the basics solved,
then started to, well, play with it....

you should never just play with perl code.... you
really should be proper about it.... you know, design
phase follows requirements analysis which followed the
market analysis review phase....

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to