Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: PERL TO HTML FORM

by jonjacobmoon (Pilgrim)
on Jan 05, 2002 at 20:28 UTC ( #136548=note: print w/ replies, xml ) Need Help??


in reply to PERL TO HTML FORM

Why are you yelling? You seem very excited.... :)

What you need is a template processing solution. I use Template::Toolkit myself. What you can do is:

<input type="text" name="foo" value="[% bar %]">

in you html. The html form is printed by the template processor (ie. Template::Toolkit or whatever), and all variables within the special tags (in this case [% %} are replaced.

I am sure that CGI.pm offers a solutions as well, but I don't use it for this so I don't know the syntax but you easy research that if you decide to go that way.


Comment on Re: PERL TO HTML FORM
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (16)
As of 2015-07-31 17:35 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 (279 votes), past polls