NAME

Text::Todo::Simple - help people finish those damn tasks

VERSION

version 0.10

SYNOPSIS

Text::Todo::Simple is a simple and basic todo list manager, without all the additional features that make people spending more time on organizing tasks instead of completing them.

    use Text::Todo::Simple;

    my $todo = Text::Todo::Simple->new(todo_file => $todo_file,
				       done_file => $done_file);

    $todo->add('Something to do');
    $todo->list('Something');
    $todo->edit(1, 'Something to do and more');
    $todo->add('Something else to do');
    $todo->move(2, 1);
    $todo->remove(2);
    $todo->do(1);

DESCRIPTION

Text::Todo::Simple tries to be as effective as possible doing the unique thing it does without any surplus.

This simplicity is aimed to not distract the users from what really matters: emptying the todo list. The time that one wastes in tagging, prioritizing and organizing tasks, can be spent more effectively completing the tasks.

Text::Todo::Simple was inspired by stevelosh' t project (http://stevelosh.com/projects/t/).

METHODS

new

Create a todo object

add( $task )

Add $task to the todo list

do( $id )

Move $id task to done file

list( $grep )

List task containing $grep (optional)

remove( $id )

Remove $id task

edit( $id, $new )

Replace $id task with $new

move( $id, $new )

Move $id task to $new

INTERNAL METHODS

_read( $file )

Read file to array reference

_append( $file, $data )

Append string to file

_write( $file, $data )

Write array (by reference) to file

AUTHOR

Alessandro Ghedini, <alexbio at cpan.org>

BUGS

Please report any bugs or feature requests to bug-text-todo-simple at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Todo-Simple. 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 Text::Todo::Simple
perldoc t

You can also look for information at:

SEE ALSO

Text::Todo

LICENSE AND COPYRIGHT

Copyright 2010 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.