rup173 has asked for the wisdom of the Perl Monks concerning the following question:
i am writing a wml embeded in perl
my ($data,$rows) = &get_sms($dbh,$userid); my $k; foreach $k(@$data){ print<<_WML_; <?xml version='1.0'?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card title="smsbook" id="smsbook"> <p> @$k </p> </card> </wml> _WML_
can you tell how can i print multiple search rows which i will get after i will call get_sms function in the code which will return a arrayref. the code which i have written will just print only one search row not many.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WML in perl
by Chady (Priest) on Feb 21, 2004 at 08:17 UTC | |
|
Re: WML in perl
by Anonymous Monk on Feb 21, 2004 at 08:13 UTC |