NAME

Reddit::API::Comment

DESCRIPTION

Wraps a posted comment.

SUBROUTINES/METHODS

replies()

Returns a list ref of replies underneath this comment.

reply(...)

Syntactic sugar for Reddit::API::submit_comment().

INTERNAL ROUTINES

set_likes

Conditionally sets the value of "likes" since it may validly be true, false, or neither, in the case of no vote being cast.

set_replies

Wraps the list of children in Comment class instances and ensures that comments with no replies return an empty array for replies.

AUTHOR

Jeff Ober mailto:jeffober@gmail.com

LICENSE

BSD license