in reply to WML parameters -WAP it out

Hmmmm .... what's the problem?
use CGI::WML; my $q = new CGI::WML; print $q->param('foo'), "\n"; # results: [jeffa@trinity cgi-bin]$ ./wml.cgi foo=bar bar
UPDATE:
Be sure and wrap the param username in quotes:
param('username')
Not doing so only issues a warning however ... the param should still be fetched.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: (jeffa) Re: WML parameters -WAP it out
by hakkr (Chaplain) on Mar 01, 2002 at 09:53 UTC
    Discovered two problems, I had not set Apache AddType .wml I also discovered that I can use the standard CGI module to get the params. Cheers anyhow