>>>>> "Jeffrey" == Jeffrey W Baker <[EMAIL PROTECTED]> writes: Jeffrey> Apache::print() dereferences its arguments. For example, this code: Jeffrey> my $foo = "bar"; Jeffrey> $r->print(\$foo); Jeffrey> prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone Jeffrey> explain the purpose of this behavior, or is it a misfeature? In my case, Jeffrey> this is not the desired behavior. You can always call $r->print(\\$foo); :) As in, $r->print(map { \$_ } @list) will work as your print, always. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- Why does $r->print() dereference its arguments? Jeffrey W. Baker
- Re: Why does $r->print() dereference its argume... Stas Bekman
- Re: Why does $r->print() dereference its argume... Chip Turner
- Re: Why does $r->print() dereference its ar... Jeffrey W. Baker
- Re: Why does $r->print() dereference it... Gunther Birznieks
- Re: Why does $r->print() dereference its argume... Randal L. Schwartz
- Re: Why does $r->print() dereference its argume... Doug MacEachern
- Re: Why does $r->print() dereference its ar... Jeffrey W. Baker
- Re: Why does $r->print() dereference it... Doug MacEachern
- RE: Why does $r->print() dereference its argume... Geoffrey Young
- RE: Why does $r->print() dereference its ar... Stas Bekman
- RE: Why does $r->print() dereference its argume... Geoffrey Young
- RE: Why does $r->print() dereference its ar... Stas Bekman
- Configuring Apache with <PERL> secti... James Olsen
- RE: Why does $r->print() dereference its argume... Geoffrey Young