Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: perl form

by benn (Priest)
on Oct 10, 2003 at 12:41 UTC ( #298227=note: print w/ replies, xml ) Need Help??


in reply to perl form

I think you'd be better reorganising this. Formcgi.pl doesn't need to exist at all - this could simply be a static HTML form, as all it does is pass parameters, with no dynamic generation necessary. Then you could simply add the code in "getpart.pl" into "addrecord.pl" (as a GetPartNumber subroutine or something similar), return the value and write out to the db in one fell swoop.

As stated above though, CGI.pm would be of *great* help to you here, especially in the parsing of the parameters.

Cheers, Ben.


Comment on Re: perl form
Re: Re: perl form
by britney (Acolyte) on Oct 13, 2003 at 16:26 UTC
    Hi Benn, Yes , I tried to use form in html first, but I was stuck when it call for getpart.pl Would you mind to show me to to write this addrecord.pl and have sub GetpartNumber I tried and get no luck. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://298227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-07-06 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls