NAME

WWW::VieDeMerde::Message - A message from VieDeMerde.fr

VERSION

Version 0.1

SYNOPSIS

use WWW::VieDeMerde;

my $toto = WWW::VieDeMerde->new();
my $tata = $toto->get(1664);

print $tata->texte, $tata->auteur;

DESCRIPTION

You should first read the documentation WWW::VieDeMerde !

A WWW::VieDeMerde::Message object describes a fmylife or viedemerde entry. You probably do not need to create yourself such object, WWW::VieDeMerde manage it.

The following accessors are useful:

  • id

  • author

  • category

  • date

  • agree

  • deserved

  • comments

    It's the number of commentaries

  • text

  • comments_flag

METHODS

new

Create a new WWW::VieDeMerde::Message given a vdm node the xml response to a query.

parse

Take an xml tree and return a list of WWW::VieDeMerde::Message. qu'il contient.

AUTHOR

Olivier Schwander, <olivier.schwander at ens-lyon.org>

BUGS

Please report any bugs or feature requests to bug-www-vdm at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-VieDeMerde. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WWW::VieDeMerde

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Olivier Schwander, all rights reserved.

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