I'm running perl 5.6.1 on Apache HTTPD V2.
I noticed some values were not appearing on the web
page.
After several hours I tracked it down to these line of
code. The concantenation is failing suddenly!
my $hidden="<table><tr><td>";
&FormElements(\$hidden...);
sub FormElements{
my $hidden = @_;
my $t1 = qq[<input type=text value=mumble>];
$$hidden .= $t1;
}
When single stepping thru this code with the
OpenPerlIDE debugger I see the new value of $$hidden
is just "<input type=text value=mumble>" AFTER THE
CONCATENATION! It just did a copy instead of a
concatenation! This explains where my table went when
I look at the web page!
I tried rewriting the problem line of code:
$$hidden = $$hidden.$t1;
This did not help -- same results!
I tried
$$hidden = qq[$$hidden$t1];
Same results! No concatenation again!
Am I loosing my mind?
Sieg
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]