NAME

WWW::Plurk::Message - A plurk message

VERSION

This document describes WWW::Plurk::Message version 0.02

SYNOPSIS

  use WWW::Plurk;
  my $plurk = WWW::Plurk->new( 'username', 'password' );
  my @plurks = $plurk->plurks;

DESCRIPTION

Represents an individual Plurk or response.

Based on Ryan Lim's unofficial PHP API: http://code.google.com/p/rlplurkapi/

INTERFACE

new

Called internally.

responses

Get the responses for this Plurk. If called on an object that already represents a response gets the peers of that response (i.e. the other responses to the same Plurk).

respond

Respond to a Plurk. See WWW::Plurk#respond_to_plurk for details of arguments.

$msg->respond( content => "I'm free!" );

Returns the newly created response.

Get a URI that is a permanent link to this Plurk. If called on a response gets a permalink to the parent Plurk.

Accessors

The following accessors provide access to the content of this Plurk:

  • author

  • content

  • content_raw

  • id

  • is_mute

  • is_unread

  • lang

  • limited_to

  • no_comments

  • owner_id

  • plurk_id

  • posted

  • qualifier

  • response_count

  • responses_seen

  • source

  • user_id

  • plurk

CONFIGURATION AND ENVIRONMENT

WWW::Plurk requires no configuration files or environment variables.

DEPENDENCIES

None.

INCOMPATIBILITIES

None reported.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-www-plurk@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

Andy Armstrong <andy.armstrong@messagesystems.com>

http://www.plurk.com/user/AndyArmstrong

LICENCE AND COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

Copyright (c) 2008, Message Systems, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in
  the documentation and/or other materials provided with the
  distribution.
* Neither the name Message Systems, Inc. nor the names of its
  contributors may be used to endorse or promote products derived
  from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.