The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Delicious::Date - OOP for del.icio.us date thingies

SYNOPSIS

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

  foreach my $dt ($del->post_per_date({...})) {

      # $dt is a Net::Delicious::Date
      # object.

      print "$dt\n";
  }

DESCRIPTION

OOP for del.icio.us date thingies.

NOTES

  • This package overrides the perl builtin stringify operator and returns the value of the object's count 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::Date object. Woot!

OBJECT METHODS

$obj->tag()

Returns a string.

$obj->date()

Returns a date string, formatted YYYY-MM-DD

$obj->count()

Returns an int.

$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

Net::Delicious

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.