Gay, Jerry on 27 Jan 2004 16:08:01 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: perl DBI question


> That does indeed work. (It's probably the equivalent of 
> assigning it to a 
> temporary, as I would expect the compiler to build a 
> temporary string out of 
> the "..." before handing it to the function. I don't know 
> anything about the 
> perl compiler though, so I could be wrong there). 
> 
actually, what it does is force the tied variable to be converted to scalar
context before it's passed to DBI's quote subroutine. apparently, quote
doesn't play nicely with tied scalars, but it works just fine (no surprise)
with non-magic scalars.

why don't you write up an RT ticket on CPAN, or mail the dbi mailing list
with the details. i'm sure they'll appreciate a small test recreating the
behavior.

--jerry



************************************************************************** 
This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom 
it is intended, even if addressed incorrectly. If you received this e-mail 
in error, please notify the sender; do not disclose, copy, distribute, or 
take any action in reliance on the contents of this information; and delete 
it from your system. Any other use of this e-mail is prohibited. Thank you 
for your compliance.



-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**