On 10/31/07, Tom Phoenix <[EMAIL PROTECTED]> wrote:
[snip]
> The docs could always be more clear. The right operand of an
> or-operator does inherit the context of the operator itself. But the
> left operand's context is always Boolean.
>

Thanks for clearing that up!

> > Given that, I would expect, from the docs, for get() to return the
> > empty string on success
>
> Where did you get that? From what I read of the docs, get() should
> return the downloaded file contents on success. "If get is called in a
> non-void context, returns the contents..."
>

That's back to the whole void business. In a void context, it should
return the empty string on success, and undef on failure. In any other
context, it should return the file contents on success. Clearly, I was
confused about the context.

Thanks for sorting me out.

-- j
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.downloadsquad.com  http://www.engatiki.org

values of β will give rise to dom!

Reply via email to