|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I'm using Perl to generate dynamic WML, however, I'm not able to pass variables between different subroutines.
This is part of the code in one of the subroutines: print <<END_of_wml; Content-type: text/vnd.wap.wml ... <center> <p>Please enter a course code:</p> <input name="course_code" size="9"/><br/> <anchor>Submit<br/> <go href="wml.cgi" method="post"> <postfield name="action" value="check_course"/> <postfield name="abc" value="$course_code"/> </go> </anchor> ... In another subroutine, I tried to display $abc: print <<END_of_wml; Content-type: text/vnd.wap.wml ... <wml> <card id="test" title="check"> abc = $abc </card> </wml> END_of_wml The the content of $abc is blank. I also tried \$abc, but still... What did I do wrong? oli |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > passing variable between decks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|