Naveed Massjouni

NAME

Net::Rackspace::Notes - An interface to Rackspace Email Notes.

VERSION

version 1.0000

SYNOPSIS

This class implements the functionality needed to interact with the Rackspace Email Notes API. Most likely, the racknotes script will be what you want to use instead of this.

Example usage:

    use Net::Rackspace::Notes;
    my $racknotes = Net::Rackspace::Notes->new(
        email    => $email,
        password => $password,
    );

    for my $note ($racknotes->notes) {
        print "$note->{subject}: $note->{content}\n";
    }

    # Add a new note with the given subject and content
    $racknotes->add_note('some subject', 'some important note');

    # Delete notes()->[3]
    $racknotes->delete_note(3);

METHODS

add_note($subject, $content)

Add a new note with the given subject and content.

delete_note($num)

Delete the note at $notes->[$num].

notes()

Returns an arrayref of all the notes. Returns a list in list context.

put_note($content, $num)

Replace the contents of notes->[$num] with $content.

AUTHOR

Naveed Massjouni <naveedm9@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Naveed Massjouni.

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