>>>>> "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!

Reply via email to