Re: Apache::Request->instance(undef)

2003-12-16 Thread Dave Rolsky
On Tue, 16 Dec 2003, Joe Schaefer wrote: > Dave Rolsky <[EMAIL PROTECTED]> writes: > > > If you call Apache::Request->instance with an undefined value, it dies > > when it tries to call pnotes() on that argument. > > > > It seems to me that it should simply return a false value if given > > undef.

Re: Apache::Request->instance(undef)

2003-12-16 Thread Joe Schaefer
Dave Rolsky <[EMAIL PROTECTED]> writes: > If you call Apache::Request->instance with an undefined value, it dies > when it tries to call pnotes() on that argument. > > It seems to me that it should simply return a false value if given > undef. This can happen if you have a piece of code like this

Apache::Request->instance(undef)

2003-12-16 Thread Dave Rolsky
If you call Apache::Request->instance with an undefined value, it dies when it tries to call pnotes() on that argument. It seems to me that it should simply return a false value if given undef. This can happen if you have a piece of code like this: my $r = Apache::Request->instance(Apache->reque