--- Ramon Hildreth <[EMAIL PROTECTED]> wrote:
> Hi,
> When the sub (listed below) is called, it generates a "1" within <td>
> tags as the first table cell in the table.
> I am mystified to as why this is happening. I just have td's with labels
> and form elements.
> ??
> Any ideas, is this a bug?
You have a tiny bug in your code. Reformatting to make it easier to read (IMHO):
print
table( {
-border =>'0',
-cellpadding =>'3',
-cellspacing =>'3',
-bgcolor =>'#bdc6de'
},
Tr( {
align => 'left',
valign => 'top'
},
[
td( [
print start_form ( ...
And I'll stop right there because it's your bug. You're printing the return value of
a print.
print returns a result letting you know if the print succeeded or not. That's what
you're
printing.
Here's a test case:
perl -e 'print print "Ovid"'
That prints Ovid1
Cheers,
Ovid
=====
"Ovid" on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]