NAME
Net::Delicious::Post - OOP for del.icio.us post thingies
SYNOPSIS
use Net::Delicious;
my $del = Net::Delicious->new({...});
foreach my $post ($del->recent_posts()) {
# $post is a Net::Delicious::Post
# object.
print "$post\n";
}
DESCRIPTION
OOP for del.icio.us post thingies.
NOTES
This package overrides the perl builtin stringify operator and returns the value of the object's href method.
It isn't really expected that you will instantiate these objects outside of Net::Delicious itself.
PACKAGE METHODS
__PACKAGE__->new(\%args)
Returns a Net::Delicious::Post object. Woot!
OBJECT METHODS
$obj->description()
Returns a string.
$obj->extended()
Returns a string.
$obj->href()
Returns a string.
$obj->tag()
Returns a string.
$obj->tags()
Returns a string.
$obj->user()
Returns a Net::Delicious::User object.
$obj->time()
Returns a string, formatted YYYY-MM-DD
$obj->shared($raw)
Returns a boolean, unless $raw is true in which case the method will return "no" or ""
$obj->as_hashref()
Return the object as a hash ref safe for serializing and re-blessing.
VERSION
1.13
DATE
$Date: 2008/03/03 16:55:04 $
AUTHOR
Aaron Straup Cope <ascope@cpan.org>
SEE ALSO
LICENSE
Copyright (c) 2004-2008 Aaron Straup Cope. All rights reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.