473,378 Members | 1,475 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

generating separate wml cards with Perl

If I use plain WML (ie, not generated by perl, but written out as WML in a file) then I can create cards that are displayed properly on my cell phone (motorola i415).

But if I use Perl to generate the WML, then the information on two separate cards (for example) will appear on the same screen on my phone.

Specifically, the relevant part of the perl script is:

print "<wml>";

print "<head>";
print "<meta forua=\"true\" http-equiv=\"Cache-Control\" content=\"max-age=0\"/>";
print "</head>";

print "<card id=\"no1\" title=\"Card 1\">";

print "<p>Job Detail</p>";
print "<p>you picked: $dajob</p>";
print "<p>output is $output</p>";

print "<a href=\"/cgi-bin/ufg4.cgi\">back</a>";
print "<a href=\"#bidcard\">bid</a>";


print "</card>";

print "<card id=\"bidcard\" title=\"bidcard\">";
print "<p>Your bid has been processed</p>";
print "</card>";

print "</wml>";

So there should be two separate cards. But instead, all the info from both cards is printed on the same screen on my cell phone. I don't have this problem if I hand-code the WML in a flat file. But I need to use perl to generate the WML page.

Can anyone tell me what I need to do or not do?

Thanks.
Jun 24 '07 #1
0 1711

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # David Eppstein of the Geometry Junkyard fame gave this elegant # version for returing all possible pairs from a range of n numbers. def combo2(n): return...
13
by: Michele Simionato | last post by:
What is the recommended way of generating HTML from Python? I know of HTMLGen and of few recipes in the Cookbook, but is there something which is more or less standard? Also, are there plans to...
6
by: Intiha | last post by:
Hello all, I am trying to generate random seeds for my simulations. currently i was using srand(time(NULL); for this purpose. But for confidence in my results i ran it using a script in a loop....
10
by: Arun Nair | last post by:
Can any one help me with this im not getting it even after reading books because there is not much of discussion anywhere a> Implement a calss that represents a playing card. The class should...
14
by: Steven D'Aprano | last post by:
I have an application that will be producing many instances, using them for a while, then tossing them away, and I want each one to have a unique identifier that won't be re-used for the lifetime...
11
by: ahammad | last post by:
Hello, I have a perl file that generates an html file to use on a webpage. I have to add some javascript to the html part of the perl file. I already have some code to do that, but here is the...
0
by: cldale | last post by:
Hi, I am attempting to process a proprietary formatted file into flat csv for the purpose of bcp'ing into a SQL Server 2005 install. I tried writing a processor in Perl that "works" except that...
8
by: garyrowell | last post by:
I have been at this programme for hours trying to work out what is wrong. Any help would be very much appricated. Here is the breif I received. The program This week you are going to write three...
8
by: l1nuxxx | last post by:
I have a file well call file.pl. It's a card sorting program. I need to create a lib fuction with part of the original file that shuffles the deck of cards. After it shuffles the first deck and deals...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.