I'd like to seek more wisdom regarding posting of values.
I am in a radical project where i was tasked to build a UI with XUL generated from perl (Template::Declare) i have no problems with the UI but with the forms.
I can't use inserting html elements because it sometimes does not display therefor useless. I can't seem to use XMLhttpRequests... I tried to use CGI.pm but it returned the whole page... something must be wrong here somewhere. (i'll try this again next time) I am now trying to use LWP but as extensive as I've read, all of them are posting to a PHP script.
If ever I get to implement the html element, the XMLhttpRequest, the CGI, and the LWP it will just bring me back to the problem that somehow how can I capture/receive the values passed from my form to the perl script?
something similar to:<?php header("Content-type: text/html"); while (list($key, $val) = each($_REQUEST)) { echo "$key = $val\n"; } ?>
to expand things more.. I that perl script will access the database (no problem with this) and return a value back to my form (will pose another problem of posting/returning a value).
Many thanks... Hoping that someone has an idea on what to do... I'm open in learning things.. just that.. it has to be perl, xul, and html ^^,
roiji-
In reply to POSTing values to a perl script by roiji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |