Re: Unexpected CGI and HTML

2004-06-25 Thread Sean Davis
Thanks for the replies, William and Wiggins. My misconception was that some cgi.pm methods return strings, and some return arrays. I was assuming that all were strings--performing a join on the arrays to get simple strings fixes the problem. Sean On 6/24/04 2:44 PM, Wiggins d Anconia [EMAIL

Re: Unexpected CGI and HTML

2004-06-25 Thread Randal L. Schwartz
Sean == Sean Davis [EMAIL PROTECTED] writes: Sean My misconception was that some cgi.pm methods return strings, and some Sean return arrays. Well, none of them return arrays. You can't return an array. You can return only a list or a scalar, as selected by the context of invocation. --

Unexpected CGI and HTML

2004-06-24 Thread Sean Davis
I have an odd result (at least to me) that I can't explain. I am using CGI::Application and have the following subroutine that returns $output, the html for the page (only a toy example, but illustrates the point, I think): sub return_probe_details { # Get OligoMap object (actually, just

Re: Unexpected CGI and HTML

2004-06-24 Thread Wiggins d Anconia
I have an odd result (at least to me) that I can't explain. I am using CGI::Application and have the following subroutine that returns $output, the html for the page (only a toy example, but illustrates the point, I think): sub return_probe_details { # Get OligoMap object (actually, just

Re: Unexpected CGI and HTML

2004-06-24 Thread William McKee
On Thu, Jun 24, 2004 at 01:42:35PM -0400, Sean Davis wrote: From where is the tagset div/div coming? It isn't a problem here, of course, but if I try to use this with HTML::template, it is causing problems. Any ideas? Hi Sean, That's a good question. I don't understand what problems you