Re: Why does $r-print() dereference its arguments?

2000-05-05 Thread Doug MacEachern
On Thu, 4 May 2000, Jeffrey W. Baker wrote: Not strictly for debugging, but for introspection. I was toying with a module that pokes around inside the perlguts of a running mod_perl server and makes some nice displays out of them. Nothing for production/money mind you, just amusement.

Re: Why does $r-print() dereference its arguments?

2000-05-04 Thread Doug MacEachern
On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my

Re: Why does $r-print() dereference its arguments?

2000-05-04 Thread Jeffrey W. Baker
On Wed, 3 May 2000, Doug MacEachern wrote: On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the

Why does $r-print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my case, this is not the desired behavior. -jwb

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Stas Bekman
On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Chip Turner
"Jeffrey W. Baker" [EMAIL PROTECTED] writes: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Randal L. Schwartz
"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

RE: Why does $r-print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
03, 2000 1:37 PM To: [EMAIL PROTECTED] Subject: Why does $r-print() dereference its arguments? Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone

RE: Why does $r-print() dereference its arguments?

2000-05-03 Thread Stas Bekman
] Subject: Why does $r-print() dereference its arguments? Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purp

RE: Why does $r-print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 2:07 PM To: Geoffrey Young Cc: mod_perl list Subject: RE: Why does $r-print() dereference its arguments? On Wed, 3 May 2000, Geoffrey Young wrote: interesing behavior - print

RE: Why does $r-print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 2:23 PM To: Geoffrey Young Cc: mod_perl list Subject: RE: Why does $r-print() dereference its arguments? -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
On 3 May 2000, Chip Turner wrote: "Jeffrey W. Baker" [EMAIL PROTECTED] writes: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Gunther Birznieks
At 11:56 AM 5/3/00 -0700, Jeffrey W. Baker wrote: On 3 May 2000, Chip Turner wrote: "Jeffrey W. Baker" [EMAIL PROTECTED] writes: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected