ok!
i made two scripts. sender.cgi reads the input and sends it to receiver.cgi. i have tested receiver.cgi by sending the parameter like this:
http://192.168.0.2/receiver.cgi?q=test.
q arrives ok and its value is written to the file.
sender.cgi doesn't work. i think there is a problem in the go statement:
#!/usr/bin/perl
use CGI::WML;
$cgi = new CGI::WML;
print $cgi->header(),$cgi->start_wml();
print $cgi->card(-id=>"card1",-title=>"Command",content=>
$cgi->p($cgi->input(-name=>"q",-value=>"")).
$cgi->p($cgi->b("Apasa go")).
$cgi->do(-type=>"accept",-label=>"go",-content=>
$cgi->go(-method=>"post",-href=>"http://192.168.0.2/receiver.cgi",-postfields=>'q')));
print $cgi->end_wml();
the -postfields property isn't working (when i run the script it doesn't say 'postfield' anywhere).
how do i send the value to the other script?