Net::Delicious::User - OOP for del.icio.us user thingies


Net-Delicious documentation Contained in the Net-Delicious distribution.

Index


Code Index:

NAME

Top

Net::Delicious::User - OOP for del.icio.us user thingies

SYNOPSIS

Top

  use Net::Delicious;
  my $del = Net::Delicious->new({...});

  foreach my $post ($del->recent_posts()) {

      my $user = $post->user();
      print $user->name()."\n";
  }

DESCRIPTION

Top

OOP for del.icio.us user thingies.

NOTES

Top

PACKAGE METHODS

Top

__PACKAGE__->new(\%args)

Top

Returns a Net::Delicious::User object. Woot!

OBJECT METHODS

Top

$obj->name()

Returns an string.

$obj->as_hashref()

Return the object as a hash ref safe for serializing and re-blessing.

VERSION

Top

1.13

DATE

Top

$Date: 2008/03/03 16:55:04 $

AUTHOR

Top

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO

Top

Net::Delicious

LICENSE

Top

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.


Net-Delicious documentation Contained in the Net-Delicious distribution.
# $Id: User.pm,v 1.11 2008/03/03 16:55:04 asc Exp $
use strict;

package Net::Delicious::User;
use base qw (Net::Delicious::Object);

$Net::Delicious::User::VERSION = '1.14';

use overload q("") => sub { shift->name() };

# Defined in Net::Delicious::Object

# Defined in Net::Delicious::Object

# Defined in Net::Delicious::Object

return 1;