NAME

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

VERSION

version 0.14

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@cpan.org>

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.